Skip to contents

Plot the distribution of specified features/variables.

Usage

plot_distribution(data, features, grouping, color_scheme = NULL)

Arguments

data

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.