Re: [R-sig-phylo] Error calculating phylogenetic diversity in Picante

2013-04-10 Thread Matthew R. Helmus
Julián, Can you try it wo Rstudio? 1. check all dimensions and labels of your objects. 2. actually send some code since what you provided is not enough to assess your problem. Best of luck! Matt -- Amsterdam Global Change Institute Vrije Universiteit Amsterdam http://www.agci.vu.nl/en/people/a

Re: [R-sig-phylo] pruning tree of 10000 species

2013-04-10 Thread José Hidasi
Hello Elaine, Liam is right. For example, the mammalian phylogeny (over 5000 species) in Newick format has only 131 kb. Maybe you are talking about Jetz et al. (2012) bird phylogeny ( http://www.nature.com/nature/journal/v491/n7424/full/nature11631.html). If I am correct, you are downloading files

Re: [R-sig-phylo] pruning tree of 10000 species

2013-04-10 Thread Liam J. Revell
Hi Elaine. A tree of 10,000 tips written to file should not take up 3.9 GB. Even a 1000 Newick trees of this size should not take up this much space. Are you sure this is the size of your file? All the best, Liam Liam J. Revell, Assistant Professor of Biology University of Massachusetts Bost

[R-sig-phylo] pruning tree of 10000 species

2013-04-10 Thread Elaine Kuo
Hello This is Elaine. I downloaded a bid phylogeny tree of 1 species. The file of the whole tree (1 species) is about 3.9 GB. I want like to extract to 3000 species of them for my research. Here comes two questions: 1. Please kindly advise if R is able to input a phylogeny tree of 1

Re: [R-sig-phylo] Error calculating phylogenetic diversity in Picante

2013-04-10 Thread Julián Velasco
Hi José thanks for the information, I used you example and works perfectly! thanks to all for your helpful comments best Julián On Wed, Apr 10, 2013 at 5:58 AM, José Hidasi wrote: > > Hello Julián, > > Which function are you using ('pd', 'ses.pd', 'mpd', 'mntd'...)? This is a > common error

Re: [R-sig-phylo] Error calculating phylogenetic diversity in Picante

2013-04-10 Thread José Hidasi
Hello Julián, Which function are you using ('pd', 'ses.pd', 'mpd', 'mntd'...)? This is a common error when using the 'pd' function. First, you could make sure that names on sample are equal on the phylo, and do not use spaces on names, try using underlines (if I remember well, bininda-emonds phylo