complex_vlnplot_multiple | R Documentation |
This function generates violin plot(s) to compare the expression of multiple genes across different groups or cell types. It is designed for visualizing a complicated scenario: Gene expression of multiple genes on multiple cell types across groups.
complex_vlnplot_multiple(
seu_obj,
features,
celltypes = NULL,
group,
add.dot = T,
font.size = 12,
pt.size = 0.1,
alpha = 0.01,
strip.color = NULL
)
seu_obj |
A complete Seurat object |
features |
Gene name. Only one gene is allowed. |
celltypes |
Cell types of interest. By default, all cell types are included. |
group |
Only one groupID is allowed. |
add.dot |
Whether or not to add points on the violins. |
font.size |
Font size for the labels. |
pt.size |
Point size for the data points on the violin |
alpha |
Point transparency. value from 0 to 1. |
strip.color |
Colors for the strip background |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.