plot_umi_gene: Scatterplot of genes vs. UMI counts, colored by posterior...

Description Usage Arguments Value

View source: R/plotting.R

Description

Scatterplot of genes vs. UMI counts, colored by posterior probability

Usage

1
2
3
plot_umi_gene(x, color = "CleanProb",
  color_name = "Probability\nClean", palette = "PuBuGn",
  alpha = 0.1, ret = FALSE)

Arguments

x

An SCE object.

color

Column name of droplet_data to color points by.

color_name

Title of the color legend.

palette

Name of the palette to use from RColorBrewer; see scale_color_distiller.

alpha

A numeric value controlling the transparency of the points. From 0 (transparent) to 1 (no transparency).

ret

A logical specifying whether to return the ggplot object or just print it out.

Value

Nothing. If return=TRUE, then return a ggplot object


diem documentation built on Nov. 16, 2019, 1:08 a.m.