alifestd_ultrametricize_polars
- alifestd_ultrametricize_polars(phylogeny_df: DataFrame, *, method: Literal['extend'] = 'extend') DataFrame
Adjust tip origin_time values so all tips share the same time.
With
method="extend", each tip’sorigin_timeis set to the maximumorigin_timeacross all nodes. Internal node times are not modified.Empty phylogenies are returned unchanged. Must represent an asexual phylogeny (when
is_leafis not already present).See Also
- alifestd_ultrametricize :
Pandas-based implementation.