powered by
Calculates the nLTT statistic between each phylogeny in a collection compared to a same focal/reference tree
nltts_diff( tree, trees, distance_method = "abs", ignore_stem = TRUE, log_transform = FALSE )
the nLTT statistic values, as a numeric vector of the same length as trees
trees
One phylogenetic tree
A collection of one or more phylogenetic trees
(string) absolute, or squared distance?
(logical) Should the phylogeny its stem be ignored?
(logical) Should the number of lineages be log-transformed before normalization?
Richèl J.C. Bilderbeek
use nltt_diff to compare two phylogenies
nltt_diff
tree <- ape::rcoal(4) trees <- c(ape::rcoal(4), ape::rcoal(4)) nltts <- nltts_diff(tree, trees)
Run the code above in your browser using DataLab