DOI: 10.18129/B9.bioc.bacon  

This package is for version 3.17 of Bioconductor; for the stable, up-to-date release version, see bacon.

Controlling bias and inflation in association studies using the empirical null distribution

Bioconductor version: 3.17

Bacon can be used to remove inflation and bias often observed in epigenome- and transcriptome-wide association studies. To this end bacon constructs an empirical null distribution using a Gibbs Sampling algorithm by fitting a three-component normal mixture on z-scores.

Author: Maarten van Iterson [aut, cre], Erik van Zwet [ctb]

Maintainer: Maarten van Iterson <mviterson at>

Citation (from within R, enter citation("bacon")):


To install this package, start R (version "4.3") and enter:

if (!require("BiocManager", quietly = TRUE))


For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:



HTML R Script Controlling bias and inflation in association studies using the empirical null distribution
PDF   Reference Manual
Text   NEWS


biocViews BatchEffect, Bayesian, GenomeWideAssociation, ImmunoOncology, MethylationArray, MultipleComparison, RNASeq, Regression, Software, StatisticalMethod, Transcriptomics
Version 1.28.0
In Bioconductor since BioC 3.3 (R-3.3) (7.5 years)
License GPL (>= 2)
Depends R (>= 3.3), methods, stats, ggplot2, graphics, BiocParallel, ellipse
Suggests BiocStyle, knitr, rmarkdown, testthat, roxygen2
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package bacon_1.28.0.tar.gz
Windows Binary (64-bit only)
macOS Binary (x86_64) bacon_1.28.0.tgz
macOS Binary (arm64) bacon_1.28.0.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: