svaReg: svaReg

Description Usage Arguments Details Value Author(s)

Description

when we search all of the factors which means surrogate variables update our model.matrix and calculate moderate test

Usage

1
2
svaReg(dat.m = NULL, design = NULL, sv.m = NULL, qvalue0 = 0.1,
  backend = c("NULL", "limma"), verbose = FALSE)

Arguments

dat.m

n x m M|beta matrix for n CpG sites across m different patient samples.

design

phenotype of interested; m-length vector reresent patient samples' phenotype. Optional: [combine with sample pair information] and mandatory column 2 is covariate of interest

sv.m

surrogate variables matrix calculate from isvaFn other sva methods.

qvalue0

false discovery rate's threshold; Default = 0.1

backend

backend regression packages; Default = "NULL", switch to limma for moderate statistic

verbose

Optional; Default FALSE

Details

svaReg Do regression with selected surrogate variables

Value

res data.frame

Author(s)

Xin Zhou xinchoubiology@gmail.com


xinchoubiology/Rcppsva documentation built on May 4, 2019, 1:06 p.m.