I would love to run sub.sample(size=10000, persample=T) on a huge number of samples, but instead of kicking out all groups with less than 10000 sequences I would like to keep those groups in and keep all their sequences without any subsampling…
So it would be something like a “maximum number of sequences per sample=10000” without a lower threshold…
Is it possible to do this somehow?