plot_batch: plot_batch

View source: R/plotting_functions.R

plot_batchR Documentation

plot_batch

Description

plot_batch

Usage

plot_batch(position, heteroplasmy_matrix, batch, cluster, text_size, index)

Arguments

position

Character name of the base to plot.

heteroplasmy_matrix

Third element returned by get_heteroplasmy.

batch

Vector of batch names,with length equal to n_row of heteroplasmy_matrix.

cluster

Vector specifying a partition of the samples.

text_size

Character specifying the size of the text for ggplot2.

index

Fifth element returned by get_heteroplasmy.

Value

ggplot2 object of the heteroplasmy level of a specific base across samples divided according to batch.

Author(s)

Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de


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