gather_groups¶
- outbreak_clustering.gather_groups(clusters, prevalences, count_scores=None)¶
Greedily aggregate groups into meta-groups based on some heuristics.
- Parameters
clusters -- A tuple (U,V) of sets of root nodes representing clusters (from cluster_lineages).
prevalences -- A map from lineage names to prevalences.
count_scores -- Heuristic control prioritizing different meta-group sizes.
- Returns
A list of lists clustering the clusters.