Arguments
dat
Genomic measure matrix (dimensions probe x sample) - for example, expression matrix
batch
Batch covariate (multiple batches are not allowed)
mod
Model matrix for outcome of interest and other covariates besides batch
par.prior
(Optional) TRUE indicates parametric adjustments will be used, FALSE indicates non-parametric adjustments will be used
prior.plots
(Optional)TRUE give prior plots with black as a kernel estimate of the empirical batch effect density and red as the parametric
mean.only
(Optional)FALSE If TRUE ComBat only corrects the mean of the batch effect (no scale adjustment)