Skip to content

Instantly share code, notes, and snippets.

View oleon12's full-sized avatar

Omar Daniel Leon Alvarado oleon12

View GitHub Profile
library(ape)
library(phangorn)
##This is the tree who I'll want to calculate Vane-Wright index
##
tree <- read.tree("puranius.tre")
plot(tree)
##Now a read the table
##This table have terminal and the number of nodes who belong each terminal