More posts like this
-
How to identify the phylogenetic node age of RNAs?
written by Apex92 •Dear all, I have information on specific RNAs that are present or absent in specific sets of species. Based on their presence or absence pattern …
-
changing species names in phylogeny in R
written by phylofunI have a column of species in the order in which they appear in my phylogeny (output from $tip.labels). I want to swap out this …
-
Removing a node from a phylogenetic tree with its edges
written by MosesHi All, I have phylogenetic trees with preset outgroups that I am using it to root my trees and convert it to binary trees. I …
-
Appropriateness of using topology constraints to enforce species tree concordant phylogeny
written by mahakaran.s.sandhu •In my current project, I am working on inferring a phylogeny for a particular protein. The trouble is, the topology of the tree is often …
-
Find immediate descendantsof root node of phylogenetic tree in Python or R
written by 17th Level Botanist •Hello. I am seeking a way to find the immediate descendants of the root node in a phylogenetic tree such as with the function get.desc.of.node() …
-
How to root a phylogenetic tree when calculating phylogenetic diversity in plant community?
written by shadowstep •I randomly draw some species (say 1, 2 and 4) from a 8 common species pool to assemble the communities, then transplant a special species …
-
about Phylogenetic tree and divergence time
written by porori3000 •First of all, I'm a student in non-English-speaking country... Newbie in bioinformatics. My Question is about Phylogenetic tree and divergence time. (for training) For drawing …
-
how to add/update node id to a tree in Bio::Tree::Tree object
written by sckintaI have a tree file read into a `Bio::Tree::Tree` object and trying to update/add to node which contains the gene name of interest. How can …
-
add an outgroup to an unrooted tree
written by ftpHello, I have a multiple sequence alignment containing 7 taxa + an outgroup. I generate a unrooted species phylogeny from the 7 taxa. Now I …
-
Assembling Simple Phylogenetic Trees
written by jeremy.cox.2Hello all, I want to make a phylogenetic tree/cladogram from just species names. (To be more exact, I have the NCBI taxa ID corresponding to …
By time, do you mean actual time - like dates? Or do you just want to know the distance?
These are 2 very different questions.
I’m curious how to do both. Thanks!
To get accurate dates you either need an appropriate molecular clock for your sequences, or ideally actual sequences corresponding to the deep nodes of the tree.
What data do you have?
I used a relaxed molecular clock, my tree is ultrametric
Any ideas on what R code I could use then?
My R isn't fantastic, so I can't give you working code for this, but I'd be amazed if there isn't something in
apeorphangornpackages to calculate this. I would consult their documentation.I'd typically do these types of analyses in python with
dendropyorete3.Thanks! Question, would this do the job? https://www.rdocumentation.org/packages/ape/versions/5.3/topics/branching.times
Looks promising! Combine that with one or other of their tree traversal methods and you should be able to get a measure of all the relevant paths through the tree
Do you know what function does the tree traversal method in ape? I can't find what I'm looking for in the manual