brokilon.majority_rule_consensus.majority_consensus module¶
- brokilon.majority_rule_consensus.majority_consensus.phygeo_mrc(trees, geo_ann_str, major_thr=0.5)[source]¶
Computes MRC tree for annotated trees (type is input value). Assumes leaves are fixed states.
- Parameters:
trees – list of trees
geo_ann_str – annotation that should be used for clades
- Returns:
MRC tree with annotations