gravatar for Mac

2 hours ago by

South Africa

hi everyone,

I imported an phylogenetic tree (nexus file), an output of treetime. I used the """)" function to import. After importing I wanted to get the node names associated with every tip. I used the following funtion:


..where tip_name_1 is the name of the tip that i would like to extract the node name for. It gave me a tip name, but when I checked on the actual tree in Figtree, it was the wrong node. At first I was not sure if the problem was during the import of the nexus file or if the method above is wrong. I used the phytools funtion "get.sisters", and it extracts the tip names on neighboring nodes, and this seems to be working accurately, and we could conclude that the importing is working fine. I have also tried the "get.Descendants() function with no success.

I am looking for an alternative method of getting the node names associated with the tips. I do not mind if the method is not R.


2 hours ago


Source link