Description Usage Arguments Value Examples
All pairwise D2 distances for a list of trees
1 2 | vecMultiDistUnlab(trees, listoflabels = NA, samesize = TRUE, eps = 0,
nottips = FALSE)
|
trees |
A list of trees |
listoflabels |
Alternatively, a list of labels. If listoflabels is NA (the default), this function first computes the labels for the set of trees. If listoflabels is not NA, the labels are compared directly and the trees are ignored. |
samesize |
Logical: whether the trees are the same size |
eps: |
if the trees are not the same size (samesize=F), the components in the distance will be divided by the number of tips. Then eps*(difference in tip number) is added to preserve the metric property. |
nottips: |
exclude the number of 1s from the distance (default F) |
An object of class 'dist' containing tree-tree D2 distances (uses veclabeldistance)
1 | dd=vecmultiDistUnlab(rmtree(10,12))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.