perform_MDS | R Documentation |
Classical MDS of six difference tree distances Performs Classical MDS for a set of trees using six different distances. Add names and references later.
perform_MDS(trees, tree_names = NULL, consensus = NULL)
trees |
A list of phylogenetic trees. If list includes a consensus tree, it should be the first tree. |
tree_names |
An optional list of gene names to add to the dataframes. |
consensus |
An optional argument specifying whether the first tree is a consensus tree, and if so the name of the consensus tree. |
A list containing two dataframes. The first, of dimension 2 \cdot (n_tree\cdot n_dist), contains the first two MDS coordinates for each tree and distance combination. The second, of dimension (n_tree -1)\cdot n_dist contains the distances from the first tree to each of the other trees for each distance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.