Generate a plot for enrichment analysis of Canopus-predicted terms across multiple levels
CanopusListEnrichmentPlot_2.Rd
This function generates a plot for enrichment analysis of Canopus-predicted terms across multiple levels, showing fold enrichment, p-value, and subset count for each term level.
Usage
CanopusListEnrichmentPlot_2(
mmo,
feature_list,
pthr = 0.05,
outdir,
height = 5,
width = 5,
topn = 5
)
Arguments
- mmo
The mmo object with sirius annotation and normalized data
- feature_list
A vector containing names of features to analyze
- pthr
The threshold for adjusted p-value to be considered significant (default: 0.05)
- outdir
The output file path for the enrichment plot
- height
The height of the output plot in inches (default: 5)
- width
The width of the output plot in inches (default: 5)
- topn
The number of top terms to display in the plot (default: 5)