alifestd_mark_sample_tips_uniform_asexual
- alifestd_mark_sample_tips_uniform_asexual(phylogeny_df: DataFrame, n_sample: int, mutate: bool = False, seed: int | None = None, *, mark_as: str = 'alifestd_mark_sample_tips_uniform_asexual') DataFrame
Mark a random subsample of n_sample tips.
Adds a boolean column
mark_asindicating retained tips.If n_sample is greater than the number of tips in the phylogeny, all tips are marked.
Only supports asexual phylogenies.