# NOT RUN {
trees <- c("((hg18:1.0, panTro2:2.0)hg18-panTro2:3.0, mm9:4.0);",
"(((hg18:0.01, panTro2:0.01)hg18-panTro2:0.07,
(mm9:0.083220,rn4:0.090564)mm9-rn4:
0.269385)hg18-rn4:0.020666,canFam2:0.193569);")
label.subtree(trees, "hg18-panTro2", "human-chimp", include.leading=FALSE)
label.subtree(trees, "hg18-panTro2", "human-chimp", include.leading=TRUE)
# }
Run the code above in your browser using DataLab