plot_heteroplasmy_variability: plot_heteroplasmy_variability

View source: R/plotting_functions.R

plot_heteroplasmy_variabilityR Documentation

plot_heteroplasmy_variability

Description

plot_heteroplasmy_variability

Usage

plot_heteroplasmy_variability(
  heteroplasmy_matrix,
  cluster,
  threshold = 0.1,
  frac = FALSE,
  index
)

Arguments

heteroplasmy_matrix

Third element returned by get_heteroplasmy.

cluster

Vector specifying a partition of the samples.

threshold

Numeric value.

frac

Logical. If FALSE the absolute number of cells that have at least one base with heteroplasmy above threshold are shown separated by cluster. If TRUE, then the fraction of cells are shown.

index

Fifth element returned by get_heteroplasmy.

Value

ggplot2 object

Author(s)

Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de


ScialdoneLab/MitoHEAR documentation built on June 11, 2022, 7:18 a.m.