Skip to contents
get_mpq_distances()
Compute MPQr distances for a range of values of r
get_null_mean_and_variance()
Compute null distribution statistics for the MPQr distance

Built-in functions for animated plots

plot_dist_to_reference_samples()
Makes an animated plot showing the the distances between each sample and a set of reference samples
plot_all_pairs()
Creates an animated plot of MPQ distances against some other measure of distance between sites

Helper functions for custom animated plots

make_animation_df()
Set up a data frame to make a plotly animation
get_avg_distances_to_set()
Get average distance to set

Data

gentry
Gentry forest transect dataset as a phyloseq object
small_otutab
Subsampled OTU Table from the Gentry Dataset
small_tree
Subsampled Phylogenetic Tree from the Gentry Dataset