alifestd_as_newick_asexual

alifestd_as_newick_asexual(phylogeny_df: ~pandas.core.frame.DataFrame, mutate: bool = False, *, taxon_label: str | None = None, progress_wrap: ~typing.Callable = <function <lambda>>) str

Convert phylogeny dataframe to Newick format.

Parameters

phylogeny_dfpd.DataFrame

Phylogeny dataframe in Alife standard format.

mutatebool, optional

Allow in-place mutations of the input dataframe, by default False.

taxon_labelstr, optional

Column to use for taxon labels, by default None.

progress_wraptyping.Callable, optional

Pass tqdm or equivalent to display a progress bar.