-
Notifications
You must be signed in to change notification settings - Fork 44
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
Reasoning behind matching of IDs #1 #529
Comments
What would you use instead? |
I believe |
I don't follow you. |
Any update on this? |
Referring to file:
code/example-with-provided-LD.R
in which case
ind.chr3
andind.chr2
are not the same?'df_beta' was derived from this matching:
(info_snp <- tibble::as_tibble(snp_match(sumstats, map_ldref, return_flip_and_rev = T)))
, so it already contains the variants that are both in the summary statistics and map_ldref, as well as the right chromosome (which(df_beta$chr == chr)
). So not sure whatind.chr3 <- match(ind.chr2, which(map_ldref$chr == chr))
is doing here.The text was updated successfully, but these errors were encountered: