Closed zachary-foster closed 6 years ago
sounds good, can you give an example of what a branch would be?
A branch is anything that is not a root, stem, or, leaf. Its the interior of the tree after the first split starting from the roots. I am not sure if its really all that useful, but I like completing the metaphor and it should be easy to implement, since I could program it as any taxa not returned by roots()
, stems()
, or leaves()
.
right, does make sense to complete the set
In the group of functions
roots
,stems
, andleaves
I think there is a place for everything else, which I was thinking about callingbranches
.There is already an
is_branch
function, so I figure there could be abranches
function to make things consistent. It would return info on everything that is not a root, stem, or leaf. The four together would be the whole tree.