alifestd_is_working_format_asexual
- alifestd_is_working_format_asexual(phylogeny_df, mutate: bool = False) DataFrame
Test if phylogeny_df is an asexual phylogeny in working format.
- The working format is a dataframe with the following properties:
topologically sorted (i.e., organisms appear after all ancestors),
contiguous ids (i.e., organisms’ ids correspond to row number), and
contains an integer datatype ancestor_id column.