This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |