Description Usage Arguments Author(s) Examples
Function to conduct an ANOVA analysis on the matrix of tree distances generated via function CommT.kfdist().
1 | CommT.anova(in_df)
|
in_df |
a dataframe storing the tree distances inferred via function CommT.kfdist(). This dataframe constitutes a stacked list of distances grouped by genetic locus and is the default output of function CommT.kfdist() |
Michael Gruenstaeudl
Maintainer: Michael Gruenstaeudl mi.gruenstaeudl@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 | # Load libraries
# require(ape)
# Load input data
data(post_gt_distrs_BEAST)
data(post_gt_distrs_starBEAST)
# Calculate KF distances
in_data = CommT.kfdist(post_gt_distrs_BEAST, post_gt_distrs_starBEAST)
# Generate ANOVA legend
legend_text = CommT.anova(in_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.