I am currently using the ape package function read.tree to read in several thousand newick format trees into R. An example tree is:
I am trying to remove trees that have several internal branches of short length but my problem is that these branch lengths do not transfer into r when I read the trees in. I can obtain edge lengths using:
treelist[]$edge.length but this ofcourse does not give me the internal branch lengths that I require. Here is the output:
 0.086351 0.083449 0.005868 0.002261 0.001469 0.005646 0.008410 0.006608 0.010745  0.000492 0.039824 0.028390
So what I am asking is that is there a way of identifying internal branch lengths in R, and if not is there another package anyone could recommend to do this?