It's hard to tell what you did exactly. Did you do:
mytree - compute.brlen(mytree)
? That should have worked. I've cc'ed this message to r-sig-phylo, which
is the more appropriate forum.
Cheers,
Simon.
On 10/03/15 07:05, Beth Williams wrote:
Dear All,
I am having some trouble with R and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I came across this in one of my example files. Just thought I'd
report it:
library(ape)
sessionInfo()
## R Under development (unstable) (2015-02-11 r67792)
## Platform: i686-pc-linux-gnu (32-bit)
## Running under: Ubuntu precise (12.04.5 LTS)
##
Hi Ben.
Your Newick string has some issues is possibly invalid. I believe
there are commas missing after 0.0242997 and after 0.475571. If the
line-breaks are eliminated, phytools read.newick will read the string -
but the result is a very peculiar tree. Whereas if I put commas in those
two