complex_dotplot_multiple | R Documentation |
This function allows for visualization of multiple genes in multiple groups. It takes the single gene expression data generated by PlotSingleGeneGroup, concatenate all data, and produces a dotplot graph where the group ID are in x axis, wrapped by cell types, genes are on the y axis.
complex_dotplot_multiple(
seu_obj,
features,
celltypes = NULL,
groups,
color.palette = NULL,
strip.color = NULL
)
seu_obj |
A complete Seurat object |
features |
A vector of gene names. |
celltypes |
Cell types to be included in the dot plot. Default: all cell types. |
groups |
Group ID must be one of the column names in the meta.data slot of the Seurat object. |
color.palette |
Color for gene expression. |
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.