View source: R/plotting_functions.R
plot_dpt | R Documentation |
plot_dpt
plot_dpt(position, heteroplasmy_matrix, cluster, time, gam_fit_result, index)
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. |
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.
Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.