plotUMIsVsGenes: Plot UMI and Gene Correlation

Description Usage Arguments Value Author(s) Examples

Description

Plot UMI and Gene Correlation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plotUMIsVsGenes(object, ...)

## S4 method for signature 'SingleCellExperiment'
plotUMIsVsGenes(object, interestingGroups,
  trendline = FALSE, color = scale_color_hue(), trans = "log2",
  title = "UMIs vs. genes")

## S4 method for signature 'seurat'
plotUMIsVsGenes(object, interestingGroups,
  trendline = FALSE, color = scale_color_hue(), trans = "log2",
  title = "UMIs vs. genes")

Arguments

object

Object.

...

Additional arguments.

interestingGroups

Character vector of interesting groups. Must be formatted in camel case and intersect with sampleData() colnames.

trendline

Include trendline on plot.

color

Desired ggplot color scale. Must supply discrete values. When set to NULL, the default ggplot2 color palette will be used. If manual color definitions are desired, we recommend using ggplot2::scale_color_manual().

trans

Name of the axis scale transformation to apply. See help("scale_x_continuous", "ggplot2") for more information.

title

Plot title.

Value

ggplot.

Author(s)

Michael Steinbaugh, Rory Kirchner

Examples

1
2
# SingleCellExperiment ====
plotUMIsVsGenes(cellranger_small)

WeiSong-bio/roryk-bcbioSinglecell documentation built on July 6, 2019, 12:03 a.m.