Visualize Differentially Expressed Programs with volcano plots
Source:R/enrichmentAnalysis.R
plotDEPsVolcano.Rd
Creates volcano plots showing fold enrichment vs. statistical significance for differentially expressed NMF programs across cell types.
Usage
plotDEPsVolcano(
deps_results,
cell_types = NULL,
fold_threshold = 1.5,
pval_threshold = 0.05,
top_n = 5,
ncol = 3
)
Arguments
- deps_results
List of DataFrames from FindAllDEPs()
- cell_types
Character vector, which cell types to plot (default: all)
- fold_threshold
Numeric, fold enrichment threshold for significance (default 1.5)
- pval_threshold
Numeric, p-value threshold for significance (default 0.05)
- top_n
Integer, number of top programs to label (default 5)
- ncol
Integer, number of columns for faceting (default 3)
Examples
deps <- FindAllDEPs(sce, "cell_type")
#> Error: object 'sce' not found
plotDEPsVolcano(deps)
#> Error: object 'deps' not found