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

Non-European populations #143

Closed
irisjansen opened this issue Feb 13, 2023 · 3 comments
Closed

Non-European populations #143

irisjansen opened this issue Feb 13, 2023 · 3 comments

Comments

@irisjansen
Copy link

Hi!

Thank you for this great R package, it really is of great value. One aspect that I am missing (or what I am not understanding correctly) is to munge sumstats of non-European populations. So it would be possible to do the same allele frequency checks as for the European populations. Could I already accomplish this by setting a certain option? Or maybe it is something that you are planning to implement?

Thank you in advance!

Best wishes,
Iris

@Al-Murphy
Copy link
Owner

Hey!

Great to hear you are finding it useful! So the allele frequency checks are based on the frequency values in the sumstats itself (rather than from some reference database). Therefore, whatever population was used for the GWAS itself will be used. I believe this is the most accurate way as it avoids issues where the wrong frequencies are used down to an incorrect ancestry. As far as I know, there is actually no reference database of frequencies of SNPs based on different ancestries in R and even if there was, checking the frequency based on this may not be wise (based on what I said above).

Check out the check_freq() function if you want to see an example of the usage but basically it uses the column FRQ in the dataset. To see what columns can map to this have a look at the mapping file data("sumstatsColHeaders").

Hope this helps?

Thanks,
Alan.

@irisjansen
Copy link
Author

Hi Alan,

Thank you for your fast reply, and yes this definitely helps!

Best,
Iris

@Al-Murphy
Copy link
Owner

Great! Feel free to reopen this issue if you have any further questions on it.

Thanks,
Alan.

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