powered by
designTree
designSplits
designTree(tree, method = "unrooted", ...) designSplits(x, splits = "all", ...)
phylo
fastme
distanceHadamard
example(NJ) dm <- as.matrix(dm) y <- dm[lower.tri(dm)] X <- designTree(tree) summary(lm(y~X-1))
Run the code above in your browser using DataLab