plot_umi_per_cell_and_perturbation: Make a boxplot of the number of UMIs per cell, with each...

plot_umi_per_cell_and_perturbationR Documentation

Make a boxplot of the number of UMIs per cell, with each perturbation as a separate box. Optionally facet by a second value.

Description

Make a boxplot of the number of UMIs per cell, with each perturbation as a separate box. Optionally facet by a second value.

Usage

plot_umi_per_cell_and_perturbation(
  cds,
  perturbation_col = "perturbation",
  facet_by = NULL,
  color_palette = NULL,
  yticks = NULL
)

Arguments

cds

A cell_data_set for plotting.

perturbation_col

How to group the cells for the plot. Must be a column of the colData.

facet_by

Facet the plot by this column of the colData. Each unique value is its own facet.

color_palette

List of colors to color perturbation groups. Default is NULL. When NULL, use a default set.

yticks

List of numeric values to put on the y-axis ticks.

Value

A ggplot2 object.


cole-trapnell-lab/monocle3 documentation built on June 11, 2025, 11:22 p.m.