get_lineage_key¶
- outbreak_clustering.get_lineage_key(tree, field='name')¶
 Create a mapping of names to tree nodes.
- Parameters
 tree -- The root of the phylo tree object (a frozendict).
name -- The field to map on.
- Returns
 An OrderedDict containing the map.