This pull request creates a function extract_asexual_lod as a simple extension of extract_asexual_lineage. The difference is that extract_asexual_lod does not require a leaf node to be identified; instead it selects the maximally-valued extant leaf node which has a root node as its ancestor, and returns the lineage with that leaf and root.
In the future this function could be extended to not only handle living taxa, but right now that's what it does
This pull request creates a function
extract_asexual_lod
as a simple extension ofextract_asexual_lineage
. The difference is thatextract_asexual_lod
does not require a leaf node to be identified; instead it selects the maximally-valued extant leaf node which has a root node as its ancestor, and returns the lineage with that leaf and root.In the future this function could be extended to not only handle living taxa, but right now that's what it does