alifestd_calc_mrca_id_matrix_asexual
- alifestd_calc_mrca_id_matrix_asexual(phylogeny_df: ~pandas.core.frame.DataFrame, mutate: bool = False, *, progress_wrap: ~typing.Callable = <function <lambda>>) ndarray
Calculate the Most Recent Common Ancestor (MRCA) taxon id for each pair of taxa.
Taxa sharing no common ancestor will have MRCA id -1.
Pass tqdm or equivalent as progress_wrap to display a progress bar.
Input dataframe is not mutated by this operation unless mutate set True.