Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is BA3-SNPs sensitive to unequal sample sizes between populations? #19

Open
imogen-foote opened this issue Oct 22, 2024 · 2 comments
Open

Comments

@imogen-foote
Copy link

Hi,

I have a question about the background assumptions of BA3-SNPs. I couldn't find anything in the documentation to answer my question but apologies if it is there and I just missed it. Or perhaps it is so obvious that it doesn't need explaining.

Nonetheless my question is about whether or not the programme is sensitive to unequal sample sizes between populations? If I am comparing populations of unequal size should I be randomly subsampling the larger population to match the smaller population size or given the large number of SNPs is this unlikely to have too much effect.

Thanks in advance for any light you're able to shed on the issue.

@stevemussmann
Copy link
Owner

In general, unequal sampling can impact assignment tests so it's definitely an issue worth considering. I haven't personally run this program on datasets that have had drastically unequal sample group sizes, so I don't know how it would behave from experience. However, it might be worthwhile for you to conduct a test using your dataset to see if you get different results with equal vs. unequal sample sizes.

You might also consider reading Meirmans 2014 and Faubet et al. 2007 (if you haven't already done so). I don't recall them mentioning this issue, but it's been a while since I've read them myself, and I generally recommend them to people using any version of BayesAss.

https://onlinelibrary.wiley.com/doi/full/10.1111/1755-0998.12216
https://onlinelibrary.wiley.com/doi/10.1111/j.1365-294X.2007.03218.x

@imogen-foote
Copy link
Author

Thanks very much - I will have a read of those papers and investigate this a little further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants