Finding which of two nodes is closer to a focal node in a tree #2654
-
If I have a focal node and two target nodes in a tree, what's the neatest way to find out which of the two target nodes is the closest relative? Perhaps look at the tMRCAs against both? |
Beta Was this translation helpful? Give feedback.
Answered by
jeromekelleher
Dec 4, 2022
Replies: 1 comment 1 reply
-
Yes, using the MRCA is the simplest approach I think. You would need to decide whether overall branch length or path length (number of hops) is your metric. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hyanwong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, using the MRCA is the simplest approach I think. You would need to decide whether overall branch length or path length (number of hops) is your metric.