Re: [R-sig-phylo] phylo from igraph

2017-01-06 Thread Giulio V. Dalla Riva
Thanks Klaus! I could I've missed them! Giulio Valentino Dalla Riva Beaty Biodiversity Research Centre University of British Columbia Vancouver, Canada From: Klaus Schliep Sent: January 6, 2017 2:34:49 PM To: Giulio V. Dalla Riva Cc: r-sig-phylo@r-projec

[R-sig-phylo] phylo from igraph

2017-01-06 Thread Giulio V. Dalla Riva
Dear Phyloers, Has anybody already implemented a function to convert an igraph graph object into a phylo object? (Let's pretend we are in the best of the worlds and the graph object is indeed a tree and all). Best, Giulio Valentino Dalla Riva Beaty Biodiversity Research Centre University

Re: [R-sig-phylo] simulate tree by specifying taxa distance

2016-11-03 Thread Giulio V. Dalla Riva
Dear Guangchuang, Wouldn't that require that the distance between root and current time is, at most, 0.05 (= 0.1 /2) ? In that case, I believe you just need to rescale the tree you simulated. That can be done in a number of way according to which package you use, e.g., in phytool: pbtree(n=1

Re: [R-sig-phylo] Making ultrametric trees

2016-10-31 Thread Giulio V. Dalla Riva
My 2cents on this. TL;DR: there *may* be good information in the non ultrametric tree, which we may *not* want to throw away lightheartedly. Long version: A phylogenetic model variance-covariance matrix is not, in general, the same thing of the pairwise phylogenetic distance matrix. They are

Re: [R-sig-phylo] plot trees distribution

2016-01-05 Thread Giulio V. Dalla Riva
4 2987 ext 4869 From: Liam J. Revell Sent: Wednesday, 6 January 2016 12:37 p.m. To: Giulio V. Dalla Riva; r-sig-phylo@r-project.org Subject: Re: [R-sig-phylo] plot trees distribution Hi Giulio. You could try something like: trees<-read.nexus("Way

[R-sig-phylo] root edge issue in picante::evol.distinct()

2015-08-09 Thread Giulio V. Dalla Riva
Dear all, I'm trying to compute the evolutionary distinctiveness of the tips of a tree ```R tre <- collapse.singles(read.newick("tree.phy")) evol.distinct(tre) ``` and I'm getting this error: ```R Error in while (!(edge %in% root.edge)) { : argument is of length zero In addition: Warning mes

Re: [R-sig-phylo] testing for variation in rates of evolution among traits

2015-07-16 Thread Giulio V. Dalla Riva
P.S. Rumbling on that: a proper answer, however, in a phylogenetic scenario would also require to try and estimate the evolution of the intralineage trait variance (an ancestral state reconstruction of the trait mean and variance) as the hypothesis that it has been constant during long times see

Re: [R-sig-phylo] testing for variation in rates of evolution among traits

2015-07-16 Thread Giulio V. Dalla Riva
Well, I have the gut that depends also on the adopted units of measure for the different traits. That is: having only averaged species data, is 1cm of wingspan increase a greater change than 1kg of bodymass increase? A solution would be to compare on each tip the inferred traits directional cha

Re: [R-sig-phylo] PGLS - I have more taxa in my data set than in my phylogeny

2014-08-07 Thread Giulio V. Dalla Riva
Dear Anna, My first answer would be to insert the individuals in the phylogeny from the beginning. But: how closely related do you expect the traits of individuals in the same species to be? If you can't answer soundly to this question, my approach would be not meaningful. What PGLS need is a