alifestd_delete_trunk_asexual
- alifestd_delete_trunk_asexual(phylogeny_df: DataFrame, mutate: bool = False) DataFrame
Delete entries masked by is_trunk column.
Masked entries must be contiguous, meaning that no non-trunk entry can be an ancestor of a trunk entry. Children of deleted entries will become roots.
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_collapse_trunk_asexual