alifestd_mark_clade_nodecount_ratio_sister_polars
- alifestd_mark_clade_nodecount_ratio_sister_polars(phylogeny_df: DataFrame, *, mark_as: str = 'clade_nodecount_ratio_sister') DataFrame
Add column clade_nodecount_ratio_sister, containing the ratio of each clade size to that of its sister.
The output column name can be changed via the
mark_asparameter.Tree must be strictly bifurcating.