Re: [R-sig-phylo] Pairwise Distances

2016-02-19 Thread Pedro Paulo Goulart Taucce
Thank you very much, everyone! Dr. Felsenstein, I will check the books, thanks! Dr. Paradis and Dr. Collins, I will test what you said, thanks! Cheers, Pedro Me. Pedro P. G. Taucce Universidade Estadual Paulista "Júlio de Mesquita Filho" - UNESP Instituto de Biociências Departamento de Zoolog

Re: [R-sig-phylo] Pairwise Distances

2016-02-19 Thread Rupert Collins
Dear Pedro, Take a look at the 'spider' package in R. There are several functions for these kind of analyses with distances, particularly 'sppDistMatrix()'. Cheers On 19 February 2016 at 11:00, wrote: > Re: Pairwise Distances [[alternative HTML version deleted]] ___

Re: [R-sig-phylo] Pairwise Distances

2016-02-19 Thread Emmanuel Paradis
Hi Pedro, Suppose all the DNA sequences are in a single matrix, say X, and you have a vector (or factor) identifying the species of each sequence, say SPECIES. So: length(SPECIES) == nrow(X) is TRUE. What you can do is to first compute all pairwise (raw) distances: D <- dist.dna(X, "n") an

Re: [R-sig-phylo] Pairwise Distances

2016-02-18 Thread Joe Felsenstein
Pedro -- > Well, for now I just want to estimate the raw distances. But thinking about coalescents is certainly interesting. Would you have a suggestion for either ways of thinking? Well, you must be wanting to use those raw distances to infer something. Rates of migration? There are extensive d

Re: [R-sig-phylo] Pairwise Distances

2016-02-18 Thread Pedro Paulo Goulart Taucce
Hello, sir Well, for now I just want to estimate the raw distances. But thinking about coalescents is certainly interesting. Would you have a suggestion for either ways of thinking? Thank you, Pedro Em 18/02/2016 20:25, "Joe Felsenstein" escreveu: > > Pedro Taucce -- > > >> Is there a way to e

Re: [R-sig-phylo] Pairwise Distances

2016-02-18 Thread Joe Felsenstein
Pedro Taucce -- > Is there a way to estimate pairwise distances between and within groups of > sequences (in my case, each group is a species with lots of individuals)? I > used to do it with MEGA, but now I use Linux only and MEGA isn't getting > along with it. > > The closest way I figured out

[R-sig-phylo] Pairwise Distances

2016-02-18 Thread Pedro Paulo Goulart Taucce
Hello, everyone! Is there a way to estimate pairwise distances between and within groups of sequences (in my case, each group is a species with lots of individuals)? I used to do it with MEGA, but now I use Linux only and MEGA isn't getting along with it. The closest way I figured out is the func