Returns all nodes that are children of self parent.
This call excludes self from the list.
Returns: | list of TreeNode
|
---|
See also
Examples
>>> from six import StringIO
>>> from skbio import TreeNode
>>> tree = TreeNode.read(StringIO("((a,b)c,(d,e,f)g)root;"))
>>> tip_e = tree.find('e')
>>> [n.name for n in tip_e.siblings()]
['d', 'f']