dot_plot | R Documentation |
This function adapts the DotPlot Seurat function by providing additional plotting options.
dot_plot( seu, features, group.by = NULL, labels = NULL, xlab = "Signature", ylab = "Cluster", legend.position = "right", col_pal = NULL, ... )
seu |
Seurat object (required). |
features |
Vector of features to plot. |
group.by |
Name of metadata column to group cells by (required). |
labels |
If we want to have different labels plotted for each feature. |
xlab |
Label for x-axis. |
ylab |
Label for y-axis. |
legend.position |
Position of legend, default "right" (set to "none" for clean plot). |
col_pal |
Continuous colour palette to use, default "RdYlBu". |
... |
Additional parameters passed to Seurat's DotPlot. |
A ggplot2 object.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.