Hi,
I study comparative biology and have been trying to estimate ancestral character states for continuous characters using the package phytools.
The optimization of the characters is perfect but I have problems editing the outcome image. My main goal is that all the branches have the same length, right now I am getting random lengths as in the attached image.
Here's the code I'm using:
obj<-contMap(tree, cont.charac, plot=FALSE)
plot(obj,legend=0.7*max(nodeHeights(tree)))
I have tried using the argument "use.edge.length = FALSE" with no success. And have also tried other commands as "plot.phylo" and "plotTree", for which I got the error message: found less than 2 tips in the tree.
Thanks a lot for your consideration.
Best regards,
jessica
I study comparative biology and have been trying to estimate ancestral character states for continuous characters using the package phytools.
The optimization of the characters is perfect but I have problems editing the outcome image. My main goal is that all the branches have the same length, right now I am getting random lengths as in the attached image.
Here's the code I'm using:
obj<-contMap(tree, cont.charac, plot=FALSE)
plot(obj,legend=0.7*max(nodeHeights(tree)))
I have tried using the argument "use.edge.length = FALSE" with no success. And have also tried other commands as "plot.phylo" and "plotTree", for which I got the error message: found less than 2 tips in the tree.
Thanks a lot for your consideration.
Best regards,
jessica