combatMod: Call ComBat function with minor adjustments

Description Usage Arguments Value

View source: R/transform.R

Description

It is worth noting that sva's ComBat has some of these modifications now.

Usage

1
2
combatMod(dat, batch, mod, numCovs = NULL, noScale = TRUE,
  prior.plots = FALSE)

Arguments

dat

Genomic measure matrix (dimensions probe x sample)

batch

Batch covariate (multiple batches allowed)

mod

bio factor of interest

numCovs

The column numbers of the variables in mod to be treated as continuous variables

noScale

do not adjust scale for batch (use default(TRUE) for now)

prior.plots

(Optional) TRUE gives prior plots. Used only when noScale is FALSE

Value

list containing adjusted data(bayesdata), shift adjustments(gamma.star), and scale adjustments(delta.star)


kokrah/cbcbSEQ documentation built on May 20, 2019, 12:54 p.m.