alifestd_downsample_tips_clade_asexual
- alifestd_downsample_tips_clade_asexual(phylogeny_df: DataFrame, n_downsample: int, mutate: bool = False, seed: int | None = None) DataFrame
Create a subsample phylogeny containing at most n_downsample tips, comprising a single clade within the original phylogeny. Candidate clades are sampled proportionally to their size.
If n_downsample is greater than the number of tips in the phylogeny, the whole phylogeny is returned.
Only supports asexual phylogenies.