alifestd_check_topological_sensitivity
- alifestd_check_topological_sensitivity(phylogeny_df: DataFrame, *, insert: bool, delete: bool, update: bool) List[str]
Return names of columns present in phylogeny_df that may be invalidated by topological operations such as collapsing unifurcations.
If no such columns exist, returns an empty list.
Parameters
- phylogeny_dfpandas.DataFrame
The phylogeny as a dataframe in alife standard format.
- insertbool
Whether the operation inserts new nodes.
- deletebool
Whether the operation deletes nodes.
- updatebool
Whether the operation updates ancestor relationships.
Input dataframe is not mutated by this operation.
See Also
- alifestd_check_topological_sensitivity_polars :
Polars-based implementation.