# skbio.tree.TreeNode.subsets¶

TreeNode.subsets()[source]

Return all sets of names that come from self and its descendants

Compute all subsets of tip names over self, or, represent a tree as a set of nested sets.

Returns: frozenset A frozenset of frozensets of str

>>> from six import StringIO