Confusion: "extract_outcome_data" function without without a filter for significant SNPs (whose p_value<5*10e-8) #626
|
I got one confusion involving "extract_outcome_data" function in "TwoSampleMR" package: If is invalid to use non-genome wide significant SNPs from GWAS (whose p_value>5×10e-8) without the integration of a polygenic risk score for each individual, why was the"extract_outcome_data" function designed without a filter for significant SNPs? (whose p_value<5×10e-8). Will this design also cause any problem in analysis from analysis workflow on the TwoSampleMR official website? |
Replies: 1 comment 1 reply
|
Hi. From what I understand, |
Hi.
From what I understand,
extract_outcome_data()is a data extraction function, not a SNP selection/filtering function. It assumes you've already constructed a valid SNP set to look up e.g., during instrument selection usingextract_instruments(). The data extraction can still be narrowed down to any desired SNP set (e.g., instruments at p=5e-8 level) by specifying the "snps" parameter e.g.,: