DotPlot_scCustom {scCustomize} | R Documentation |
Customized DotPlot
Description
Code for creating customized DotPlot
Usage
DotPlot_scCustom(
seurat_object,
features,
group.by = NULL,
colors_use = viridis_plasma_dark_high,
remove_axis_titles = TRUE,
x_lab_rotate = FALSE,
y_lab_rotate = FALSE,
facet_label_rotate = FALSE,
flip_axes = FALSE,
...
)
Arguments
seurat_object |
Seurat object name. |
features |
Features to plot. |
group.by |
Name of one or more metadata columns to group (color) cells by (for example, orig.ident); default is the current active.ident of the object. |
colors_use |
specify color palette to used. Default is viridis_plasma_dark_high. |
remove_axis_titles |
logical. Whether to remove the x and y axis titles. Default = TRUE. |
x_lab_rotate |
Rotate x-axis labels 45 degrees (Default is FALSE). |
y_lab_rotate |
Rotate x-axis labels 45 degrees (Default is FALSE). |
facet_label_rotate |
Rotate facet labels on grouped |
flip_axes |
whether or not to flip and X and Y axes (Default is FALSE). |
... |
Extra parameters passed to |
Value
A ggplot object
Examples
library(Seurat)
DotPlot_scCustom(seurat_object = pbmc_small, features = c("CD3E", "CD8", "GZMB", "MS4A1"))
[Package scCustomize version 2.1.2 Index]