plot_umi_per_cell_and_perturbation | R Documentation |
Make a boxplot of the number of UMIs per cell, with each perturbation as a separate box. Optionally facet by a second value.
plot_umi_per_cell_and_perturbation(
cds,
perturbation_col = "perturbation",
facet_by = NULL,
color_palette = NULL,
yticks = NULL
)
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. |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.