extracting instruments for mendelian randomization analysis
0
0
Entering edit mode
21 months ago
bottle07 • 0

Cross-posted on bioinfo SE: https://bioinformatics.stackexchange.com/questions/21952/extracting-instruments-for-mendelian-randomization-analysis


I am looking at extracting genetic variants associated with physical activity (to be used as exposure) from gwas id ebi-a-GCST006097. The gwas has nsnp = 11808007

library(TwoSampleMR)
library(ieugwasr)

gwasinfo ("ebi-a-GCST006097")

However, when I extract this, I end up with an nsnp = 19

ao <- available_outcomes()
PA.data <- extract_instruments(outcomes = 'ebi-a-GCST006097')

This means that I am unable to carry out harmonization as none of this 19 snps are in my outcome data (which has 3 snps). I am not sure what I am doing wrong here. I have looked at all relevant tutorial I can see online including one from mrcieu.github.io/TwoSampleMR. Any assistance will be helpful.

genomics gwas R mendelian-randomisation • 1.2k views
ADD COMMENT
0
Entering edit mode

You posted this on multiple forums on the same time. That is bad etiquette. It will only serve to annoy people that are part of both communities because you're asking people in two places to invest effort independently for you. Do not repeat this behavior in the future.

ADD REPLY
0
Entering edit mode

Please do not insult someone else just because they asked a question. If you are unable to assist, then please leave it accordingly. I am completely new here, and was merely advised on another forum to post it here too. But, been rude simply because you know better than someone else is extremely wrong. Don't forget in life, there will always be things you might require assistance with. Life is not that simple.

ADD REPLY
0
Entering edit mode

There was no insult in my comment - I stated facts and how your actions come across - "Your actions annoy people" is not an insult to you. I apologize if it came across as rude.

I saw your question on Stack Overflow, where the user that helped you asked you to post on bioinfo SE OR biostars, not both.

ADD REPLY

Login before adding your answer.

Traffic: 3762 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6