plotMitoRatio: Plot mitochondrial transcript abundance

plotMitoRatioR Documentation

Plot mitochondrial transcript abundance

Description

Plot mitochondrial transcript abundance

Usage

plotMitoRatio(object, ...)

## S4 method for signature 'SingleCellExperiment'
plotMitoRatio(
  object,
  geom = c("histogram", "ecdf", "violin", "ridgeline", "boxplot"),
  interestingGroups = NULL,
  max = 1L,
  trans = "sqrt",
  labels = list(title = "Mito ratio", subtitle = NULL, metricAxis = NULL, otherAxis =
    NULL)
)

Arguments

object

Object.

geom

character(1). Plot type. Uses match.arg() internally and defaults to the first argument in the character vector.

interestingGroups

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

max

numeric(1). Recommended maximum value cutoff.

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-01-19.

Author(s)

Michael Steinbaugh, Rory Kirchner

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

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

acidgenomics/r-acidplots documentation built on March 30, 2024, 10:16 p.m.