View source: R/plotting_functions.R
plot_most_contributing_features | R Documentation |
Plot Top/Bottom most contributing features to PCA
plot_most_contributing_features(
scExp,
component = "Component_1",
n_top_bot = 10
)
scExp |
A SingleCellExperiment containing "PCA" in reducedDims and gene annotation in rowRanges |
component |
The name of the component of interest |
n_top_bot |
An integer number of top and bot regions to plot |
If a gene TSS is within 10,000bp of the region, the name of the gene(s) will be displayed instead of the region
A barplot of top and bottom features with the largest absolute value in the component of interest
data(scExp)
plot_most_contributing_features(scExp, component = "Component_1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.