How Do I Convert Time Of Divergence Into A Distance Matrix Value?
3
2
Entering edit mode
13.6 years ago
Eminencegrise ▴ 210

I have 20 species and all pairwise times of divergence, how do I go ahead and construct a distance matrix?

phylogenetics • 4.2k views
ADD COMMENT
1
Entering edit mode
13.6 years ago
Paulo Nuin ★ 3.7k

Depending on the way your data is stored and coded, you can try using R's hierarchical clustering routine.

ADD COMMENT
1
Entering edit mode
13.6 years ago
Phis ★ 1.1k

Your pairwise divergence values already constitute a distance matrix. If you just have a list of values, you'd have to sort them first into a tabular format, that's all that is required to have a matrix. (Depending on downstream processing, the exact format you want to get at might be different though.)

One thing to consider is whether you might want to do any data transform between raw values and analysis.

Then, for "phylogenetic" analysis (I presume you want some sort of a tree?), you could use any of the common clustering methods such as UPGMA or NJ. They are implemented in all sorts of software (e.g., PAUP*, PHYLIP, MEGA, FAMD, NTSys-pc, .. and there's bound to be an R implementation). Also, many people might use principal coordinate analysis (PCoA).

ADD COMMENT
0
Entering edit mode
13.6 years ago

If you have data compatible with Phylip suite of programs for distance calculation you may use various methods offered by Phylip. For example I have used kitsch program in a similar context for generating distance matrix.

From Phylip Wikipedia page: fitch : Fitch-Margoliash distance matrix method with molecular clock. Estimates phylogenies from distance matrix data under the "ultrametric" model which is the same as the additive tree model except that an evolutionary clock is assumed.

You may also take a look at variety of distance calculation methods offered by phylip here.

EDIT: Soon after I posted this answer Josh Patterson pointed me to a presentation (.ppt file, 45MB) that explains a variety of distance measurement methods that you may consider for your calculations. The original tweet by @jpatanaooga is here.

ADD COMMENT

Login before adding your answer.

Traffic: 2916 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6