View source: R/plotting_functions.R
plot_percent_active_feature_scExp | R Documentation |
Barplot of the % of active cells for a given features
plot_percent_active_feature_scExp(
scExp,
gene,
by = c("cell_cluster", "sample_id")[1],
highlight = NULL,
downsample = 5000,
max_distanceToTSS = 1000
)
scExp |
A SingleCellExperiment |
gene |
A character specifying the gene to plot |
by |
Color violin by cell_cluster or sample_id ("cell_cluster") |
highlight |
A specific group to highlight in a one vs all fashion |
downsample |
Downsample for plotting (5000) |
max_distanceToTSS |
Numeric. Maximum distance to a gene's TSS to consider a region linked to a gene. (1000) |
A violin plot of intra-correlation
data(scExp)
plot_percent_active_feature_scExp(scExp, "UBXN10")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.