Tailored dot plot
dot_plot.Rd
This function adapts the DotPlot Seurat function by providing additional plotting options.
Usage
dot_plot(
seu,
features,
group.by = NULL,
labels = NULL,
xlab = "Signature",
ylab = "Cluster",
legend.position = "right",
col_pal = NULL,
...
)
Arguments
- 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.
Author
C.A.Kapourani C.A.Kapourani@ed.ac.uk