View source: R/BetterVlnPlot.R
BetterVlnPlot | R Documentation |
Generate violin plots from a Seurat object and vector of genes.
BetterVlnPlot(
seurat,
clus_ident = "seurat_clusters",
condition_ident = vector(),
features,
assay = "RNA",
idents_to_plot = vector(),
ncol = 1,
dot_size = 1,
y_axis_title = "log normalized counts"
)
seurat |
seurat object |
clus_ident |
Identity for clusters. 'seurat_clusters' by default. |
condition_ident |
name of metadata column to split plots by |
features |
vector of gene/feature names to plot |
assay |
assay to plot from. default = 'RNA' |
idents_to_plot |
vector of a subset of specific idents within clus_ident to plot |
ncol |
number of columns if plotting multiple genes |
dot_size |
size of dots. Set to NA to remove dots |
y_axis_title |
y-axis label. Default is 'log normalized counts' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.