Learn R Programming

MitoHEAR (version 0.1.0)

plot_heteroplasmy: plot_heteroplasmy

Description

plot_heteroplasmy

Usage

plot_heteroplasmy(position, heteroplasmy_matrix, cluster, index)

Arguments

position

Character name of the base to plot.

heteroplasmy_matrix

Third element returned by get_heteroplasmy.

cluster

Vector specifying a partition of the samples.

index

Fifth element returned by get_heteroplasmy.

Value

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