-
The question was originally presented at #253, but I think it is worth mentioning alone. Suppose you have "SNP1" in your exposure data (named "idat"), and "SNP1" does not exist in your local outcome data. Since the outcome data is local, you cannot use "extract_outcome_data" to take care of the proxies automatically, and have to use "read_outcome_data" which does not have the proxy looking option implemented. Let's say you find "SNP1a" in your outcome data which is in perfect LD with "SNP1", and you put "SNP1a" in your outcome dataset (named "odat"). Now you have "SNP1" in "idat" & "SNP1a" in "odat". Then you do "harmonise_data(idat, odat)" to try to associate "SNP1" with "SNP1a". The problem is that it does not do the expected association of SNP1 & SNP1a. Instead, it drops "SNP1" & "SNP1a" during the harmonisation. Likewise, I am not sure how "extract_outcome_data" handles the proxies, either. Any suggestions would be appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Have you slove this problem? |
Beta Was this translation helpful? Give feedback.
-
May I ask if this issue has been resolved? Do we need to use proxy SNPs for replacement in the exposed dataset? |
Beta Was this translation helpful? Give feedback.
-
Yes I've implemented a solution. Although the code can't be shared, the steps to carry out the proxy finding are as follows:
|
Beta Was this translation helpful? Give feedback.
Yes I've implemented a solution. Although the code can't be shared, the steps to carry out the proxy finding are as follows: