Re: [R-sig-phylo] plot trees after different branch transformations

2014-05-18 Thread Agus Camacho
It seems the function was masked from some other package: This works: require(geiger) geo - get(data(geospiza)) lphy - geiger::rescale(geo$phy, lambda, 0.9) # transform tree in one fell swoop Thanks again, 2014-05-16 15:49 GMT-03:00 Agus Camacho agus.cama...@gmail.com: Thank you both,

Re: [R-sig-phylo] plot trees after different branch transformations

2014-05-16 Thread Liam J. Revell
It looks like transform.phylo has been deprecated. Use rescale.phylo. All the best, Liam Liam J. Revell, Assistant Professor of Biology University of Massachusetts Boston web: http://faculty.umb.edu/liam.revell/ email: liam.rev...@umb.edu blog: http://blog.phytools.org On 5/16/2014 2:20 PM,

Re: [R-sig-phylo] plot trees after different branch transformations

2014-05-16 Thread Luke Harmon
Hi Agus - Geiger has changed - now you should use rescale. E.g. library(geiger) geo - get(data(geospiza)) lphy - rescale(geo$phy, lambda, 0.5) # transform tree in one fell swoop plot(lphy) On May 16, 2014, at 11:20 AM, Agus Camacho agus.cama...@gmail.com wrote: Dear list users, Im

Re: [R-sig-phylo] plot trees after different branch transformations

2014-05-16 Thread Agus Camacho
Thank you both, However, geo - get(data(geospiza)) lphy - rescale(geo$phy, lambda, 0.5) # transform tree in one fell swoop Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric I got this error also for simulated and other real trees. 2014-05-16 15:24 GMT-03:00 Liam J. Revell