plot_dpt
plot_dpt(position, heteroplasmy_matrix, cluster, time, gam_fit_result, index)
Character name of the base to plot.
Third element returned by get_heteroplasmy.
Vector specifying a partition of the samples.
Vector of diffusion pseudo time,with length equal to n_row of heteroplasmy_matrix.
Data frame returned by dpt_test.
Fifth element returned by get_heteroplasmy.
ggplot 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.