plot_dpt {MitoHEAR}R Documentation

plot_dpt

Description

plot_dpt

Usage

plot_dpt(position, heteroplasmy_matrix, cluster, time, gam_fit_result, 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.

time

Vector of diffusion pseudo time,with length equal to n_row of heteroplasmy_matrix.

gam_fit_result

Data frame returned by dpt_test.

index

Fifth element returned by get_heteroplasmy.

Value

ggplot2 object of the heteroplasmy level of a specific base across samples and the GAM fitted curve. The title shows the adjusted p value (FDR) for the position obtained from get_heteroplasmy.

Author(s)

Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de

See Also

https://cran.r-project.org/package=gam


[Package MitoHEAR version 0.1.0 Index]