getExtant function

Returns a list of the extant or extinct lineages in a tree containing non-contemporaneous tips