-
Notifications
You must be signed in to change notification settings - Fork 48
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
Confirmation of the sample size value n
#224
Comments
susie_args=c(list(n=d$N), susie_args)
n
n
n
The sample size is relevant to z-scores, ie, how many samples are used to compute the association summary statistics. It should not have to do with the sample size for LD reference panels. |
Correct, N is the sample size for the assocation statistics (e.g., z-scores). |
@leoarrow1 If the documentation is unclear in coloc, please post an issue on the coloc GitHub, and feel free to reference this discussion here. |
Thanks for the confirmation. |
Hi all,
I found the
n
in the source code of the coloc package’s susie function, where there is a section that handles the n parameter for sample size like:If Im getting this right, it’s should be that the n=samplesize (for gwas summary data) parameter is only applicable when an in-sample LD matrix is used. When the LD matrix is inferred using a reference panel, such as the 1kg panel, then
n
should represent the sample size of the reference panel. For instance, if the LD matrix is calculated using the European subset of the 1kg reference individual data, n should be approximately 500?The text was updated successfully, but these errors were encountered: