alifestd_mark_sample_tips_asexual

alifestd_mark_sample_tips_asexual(phylogeny_df: DataFrame, n_sample: int, mutate: bool = False, seed: int | None = None, *, mark_as: str = 'alifestd_mark_sample_tips_asexual') DataFrame

Mark a random subsample of n_sample tips.

Adds a boolean column mark_as indicating retained tips.

If n_sample is greater than the number of tips in the phylogeny, all tips are marked.

Only supports asexual phylogenies.

Deprecated since version 0.6.0: Use alifestd_mark_sample_tips_uniform_asexual instead.