Description Usage Arguments Details Value Examples
View source: R/diff_analysis_gene_set_enrichment.R
Based on clusters of cell defined previously, runs non-parametric Wilcoxon Rank Sum test to find significantly depleted or enriched features, in 'one_vs_rest' mode or 'pairwise' mode. In pairwise mode, each cluster is compared to all other cluster individually, and then pairwise comparisons between clusters are combined to find overall differential features using combineMarkers function from scran.
1 2 3 4 5 6 7 8 | differential_analysis_scExp(
scExp,
de_type = "one_vs_rest",
method = "wilcox",
qval.th = 0.01,
cdiff.th = 1,
block = NULL
)
|
scExp |
A SingleCellExperiment object containing consclust with selected number of cluster. |
de_type |
Type of comparisons. Either 'one_vs_rest', to compare each cluster against all others, or 'pairwise' to make 1 to 1 comparisons. ('one_vs_rest') |
method |
Wilcoxon or edgerGLM |
qval.th |
Adjusted p-value threshold. (0.01) |
cdiff.th |
Fold change threshold. (1) |
block |
Use batches as blocking factors ? |
This functions takes as input a SingleCellExperiment object with consclust, the type of comparison, either 'one_vs_rest' or 'pairwise', the adjusted p-value threshold (qval.th) and the fold-change threshold (cdiff.th). It outputs a SingleCellExperiment object containing a differential list.
Returns a SingleCellExperiment object containing a differential list.
1 2 | data("scExp")
scExp_cf = differential_analysis_scExp(scExp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.