Plot the distribution of specified features/variables.
Usage
plot_distribution(x, features, grouping, color_scheme = NULL)
Arguments
- x
Seurat object or metadata.
- features
Vector of features to plot (such as "nGene", "nUMI",
"percent.mito").
- grouping
X.
- color_scheme
(optional) Vector of colors.
Value
A vector of colors.