alifestd_categorize_triplet_asexual

alifestd_categorize_triplet_asexual(phylogeny_df: DataFrame, triplet_ids: Iterable[int], mutate: bool = False) int

Assess the topological configuration of three id’s in phylogeny_df.

If polytomy, return -1. Else, return index of outgroup id.

Input dataframe is not mutated by this operation unless mutate set True. If mutate set True, operation does not occur in place; still use return value to get transformed phylogeny dataframe.

See Also

alifestd_estimate_triplet_distance_asexual alifestd_sample_triplet_comparisons_asexual