DOI: 10.18129/B9.bioc.variancePartition  

This is the development version of variancePartition; for the stable release version, see variancePartition.

Quantify and interpret drivers of variation in multilevel gene expression experiments

Bioconductor version: Development (3.18)

Quantify and interpret multiple sources of biological and technical variation in gene expression experiments. Uses a linear mixed model to quantify variation in gene expression attributable to individual, tissue, time point, or technical variables. Includes dream differential expression analysis for repeated measures.

Author: Gabriel Hoffman [aut, cre]

Maintainer: Gabriel E. Hoffman <gabriel.hoffman at>

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


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

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

# The following initializes usage of Bioc devel


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 1) Variance partitioning analysis
HTML R Script 2) Additional visualizations
HTML R Script 3) Theory and practice of random effects and REML
HTML R Script 4) dream: differential expression testing with repeated measures designs
HTML R Script 5) Error handling
HTML R Script 6) Frequently asked questions
HTML R Script 7) Multivariate tests
PDF   Reference Manual
Text   NEWS


biocViews BatchEffect, DifferentialExpression, Epigenetics, FunctionalGenomics, GeneExpression, GeneSetEnrichment, ImmunoOncology, Microarray, Normalization, Preprocessing, QualityControl, RNASeq, Regression, Software, Transcriptomics
Version 1.31.18
In Bioconductor since BioC 3.2 (R-3.2) (8 years)
License GPL-2
Depends R (>= 4.3.0), ggplot2, limma, BiocParallel
Imports MASS, pbkrtest (>= 0.4-4), lmerTest, Matrix (>= 1.4.0), iterators, gplots, corpcor, RhpcBLASctl, reshape2, remaCor (>= 0.0.15), fANCOVA, aod, scales, Rdpack, rlang, lme4 (>= 1.1.33), grDevices, graphics, Biobase, methods, utils, stats
Suggests BiocStyle, knitr, pander, rmarkdown, edgeR, dendextend, tximport, tximportData, ballgown, DESeq2, RUnit, cowplot, Rfast, zenith, statmod, BiocGenerics, r2glmm, readr
Depends On Me dreamlet
Imports Me muscat, zenith
Suggests Me GRaNIE
Links To Me
Build Report  

Package Archives

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

Source Package variancePartition_1.31.18.tar.gz
Windows Binary (64-bit only)
macOS Binary (x86_64) variancePartition_1.31.18.tgz
macOS Binary (arm64) variancePartition_1.31.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: