Description Usage Arguments Value
Run Two-Sample MR on pre-processed data.
1 | get_2smr_results(preprocessed_snps)
|
preprocessed_snps |
a dataframe containing a collection of snps that have been prepared for use with two-sample MR. the expected columns are: rsid – the name of the SNP beta.exp – the exposure beta SE.exp – the exposure standard error EAF.exp – the exposure effect allele frequency EA.exp – the exposure effect allele NEA.exp – the exposure non-effect allele frequency P.exp – the exposure p-value beta.out – the outcome beta SE.out – the outcome standard error EAF.out – the outcome effect allele frequency EA.out – the outcome effect allele NEA.out – the outcome non-effect allele frequency P.out – the outcome p-value |
a list of many MR outcomes and plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.