October 2019
Intermediate to advanced
316 pages
9h 45m
English
Quantifying differences between trees with treespace can be executed using the following steps:
library(ape)library(adegraphics)library(treespace)
treefiles <- list.files(file.path(getwd(), "datasets", "ch4", "gene_trees"), full.names = TRUE) tree_list <- lapply(treefiles, read.tree) class(tree_list) <- "multiPhylo"
comparisons <- treespace(tree_list, nf = 3)
adegraphics::table.image(comparisons$D, nclass=25)
plotGroves(comparisons$pco, lab.show=TRUE, lab.cex=1.5) groves <- findGroves(comparisons, nclust = 4) plotGroves(groves)
Read now
Unlock full access