View source: R/evaluation_functions.R
get_similarity_from_tree | R Documentation |
Calculate the pairwise similarity matrix between samples, from sample labels and a phylo tree of labels.
get_similarity_from_tree(tree, labels)
tree |
a phylo object giving the tree structure of labels |
labels |
a label vector for n samples |
a n-by-n similarity matrix showing the similarity between samples given the labels and the tree structure of labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.