alifestd_to_iplotx_polars

alifestd_to_iplotx_polars(phylogeny_df: DataFrame) AlifestdIplotxShimPolars

Wrap a polars phylogeny DataFrame for use with iplotx.

Parameters

phylogeny_dfpolars.DataFrame

Asexual phylogeny in alife standard format with contiguous ids and topologically sorted rows.

Returns

AlifestdIplotxShimPolars

An iplotx-compatible tree provider that can be passed directly to iplotx.tree().