Description Usage Arguments Value Author(s) Examples
Adds the results of Surrogate Variable Analysis (SVA) to an RnBSet
1 | set.covariates.sva(rnb.set, sva.obj)
|
rnb.set |
The |
sva.obj |
An object of class |
The modified RnBSet
. Note that the association information will not be stored.
Fabian Mueller
1 2 3 4 5 6 7 8 9 | library(RnBeads.hg19)
data(small.example.object)
logger.start(fname=NA)
sva.obj <- rnb.execute.sva(rnb.set.example,c("Sample_Group","Treatment"),numSVmethod="be")
sva.obj$sva.performed
sva.obj$num.components
rnb.set.mod <- set.covariates.sva(rnb.set.example, sva.obj)
has.covariates.sva(rnb.set.example,"Sample_Group")
has.covariates.sva(rnb.set.mod,"Sample_Group")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.