Description Usage Arguments Value Author(s) Examples
View source: R/differentialMethylation.R
retrieve the comparison information for an RnBSet object
1 2 3 4 5 6 7 8 9 10 11 12 13 | get.comparison.info(
x,
pheno.cols = rnb.getOption("differential.comparison.columns"),
region.types = rnb.region.types.for.analysis(x),
pheno.cols.all.pairwise = rnb.getOption("differential.comparison.columns.all.pairwise"),
columns.pairs = rnb.getOption("columns.pairing"),
columns.adj = rnb.getOption("covariate.adjustment.columns"),
adjust.sva = rnb.getOption("differential.adjustment.sva"),
pheno.cols.adjust.sva = rnb.getOption("inference.targets.sva"),
adjust.celltype = rnb.getOption("differential.adjustment.celltype"),
adjust.na.rm = TRUE
)
|
x |
|
pheno.cols |
column names of the pheno slot in |
region.types |
which region types should be processed for differential methylation |
pheno.cols.all.pairwise |
integer or character vector specifying the colomns of |
columns.pairs |
argument passed on to |
columns.adj |
Column names or indices in the table of phenotypic information to be used for confounder adjustment in the differential methylation analysis. |
adjust.sva |
flag indicating whether the adjustment table should also contain surrogate variables (SVs) for the given target variable. |
pheno.cols.adjust.sva |
Target variables for SVA adjustment. Only important if |
adjust.celltype |
flag indicating whether the resulting table should also contain estimated celltype contributions.
See |
adjust.na.rm |
Flag indicating whether NAs in the adjustment table should be removed. |
a list containing one element for each comparison to be conducted. Each element is again a list containing:
comparison
the name of the comparison
pheno.colname
the column name of the sample annotation table the comparison is derived from
group.names
the names of the two groups being compared
group.inds
the sample indices of the samples belonging to the two groups
paired
flag indicating whether paired analysis is conducted
adj.sva
flag indicating whether adjustment for SVA is conducted
adj.celltype
flag indicating whether adjustment for cell type is conducted
adjustment.table
the covariate adjustment table. NULL
if the comparison is not adjusted
region.types
the region types applicable to the analysis
Fabian Mueller
1 2 3 4 5 | library(RnBeads.hg19)
data(small.example.object)
logger.start(fname=NA)
cmp.info <- get.comparison.info(rnb.set.example,pheno.cols=c("Sample_Group","Treatment"))
cmp.info[[1]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.