Description Usage Arguments Value See Also Examples
View source: R/visualizations.R
This function allows to the user to examine the distribution of enrichment across groups by generating a ridge plot.
1 2 3 4 5 6 7 8 9 |
enriched |
The output of |
group |
The parameter to group, displayed on the y-axis. |
gene.set |
The gene set to graph on the x-axis. |
scale.bracket |
This will filter the enrichment scores to remove extreme outliers. Values entered (1 or 2 numbers) will be the filtering parameter using z-scores of the selected gene.set. If only 1 value is given, a seocndary bracket is autommatically selected as the inverse of the number. |
facet |
A parameter to separate the graph. |
add.rug |
Binary classifier to add a rug plot to the x-axis. |
colors |
The color palette for the ridge plot. |
ggplot2 object with ridge-based distributions of selected gene.set
enrichIt
for generating enrichment scores.
1 2 3 4 | ES2 <- readRDS(url(
"https://ncborcherding.github.io/vignettes/escape_enrichment_results.rds"))
ridgeEnrichment(ES2, gene.set = "HALLMARK_DNA_REPAIR", group = "cluster",
facet = "Type", add.rug = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.