plotMitoVsCoding: Plot mitochondrial vs. coding counts

plotMitoVsCodingR Documentation

Plot mitochondrial vs. coding counts

Description

Plot mitochondrial vs. coding counts

Usage

plotMitoVsCoding(object, ...)

## S4 method for signature 'SingleCellExperiment'
plotMitoVsCoding(
  object,
  interestingGroups = NULL,
  trendline = FALSE,
  trans = "log2",
  labels = list(title = "Mito vs. coding", subtitle = NULL, x = "coding", y = "mito")
)

Arguments

object

Object.

interestingGroups

character. Groups of interest to use for visualization. Corresponds to factors describing the columns of the object.

trendline

logical(1). Include trendline on plot.

trans

character(1). Name of the axis scale transformation to apply.

For more information:

help(topic = "scale_x_continuous", package = "ggplot2")
labels

list. ggplot2 labels. See ggplot2::labs() for details.

...

Additional arguments.

Value

ggplot.

Note

Updated 2022-03-07.

Author(s)

Michael Steinbaugh, Rory Kirchner

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
try({
    plotMitoVsCoding(object)
})

acidgenomics/minimalism documentation built on April 1, 2024, 10:34 a.m.