Scatterplot of genes vs. UMI counts, colored by posterior probability
plot_umi_gene(x, color = "CleanProb",
color_name = "Probability\nClean", palette = "PuBuGn",
alpha = 0.1, ret = FALSE)
An SCE object.
Column name of droplet_data to color points by.
Title of the color legend.
Name of the palette to use from RColorBrewer;
see scale_color_distiller
.
A numeric value controlling the transparency of the points. From 0 (transparent) to 1 (no transparency).
A logical specifying whether to return the ggplot object or just print it out.
Nothing. If return=TRUE, then return a ggplot object