stagewise_DS_DD | R Documentation |
Perform two-stage testing on DS and DD analysis results
stagewise_DS_DD(res_DS, res_DD, sce = NULL, verbose = FALSE)
res_DS |
a list of DS testing results as returned
by |
res_DD |
a list of DD testing results as returned
by |
sce |
(optional) |
verbose |
logical. Should information on progress be reported? |
A list of DFrame
s containing results for each contrast and cluster.
Each table contains DS and DD results for genes shared between analyses,
as well as results from stagewise testing analysis, namely:
p_adj
: FDR adjusted p-values for the
screening hypothesis that a gene is neither DS nor DD
(see ?stageR::getAdjustedPValues
for details)
p_val.DS/D
: confirmation stage p-values for DS/D
data(example_sce)
pbs_sum <- aggregateData(example_sce, assay="counts", fun="sum")
pbs_det <- aggregateData(example_sce, assay="counts", fun="num.detected")
res_DS <- pbDS(pbs_sum, min_cells=0, filter="none", verbose=FALSE)
res_DD <- pbDD(pbs_det, min_cells=0, filter="none", verbose=FALSE)
res <- stagewise_DS_DD(res_DS, res_DD)
head(res[[1]][[1]]) # results for 1st cluster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.