Last updated: 2021-06-14
Checks: 1 1
Knit directory: proxyMR/
This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.
The R Markdown is untracked by Git. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish
to commit the R Markdown file and build the HTML.
Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.
The results in this page were generated with repository version 4e56ea9. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.
Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish
or wflow_git_commit
). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:
Ignored files:
Ignored: .Rhistory
Ignored: .Rproj.user/
Ignored: renv/library/
Ignored: renv/local/
Ignored: renv/staging/
Untracked files:
Untracked: _targets_packages.R
Untracked: analysis/meetings.Rmd
Untracked: analysis/update_meeting_14_06_2021.Rmd
Unstaged changes:
Modified: analysis/_site.yml
Modified: master.R
Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.
There are no past versions. Publish this analysis with wflow_publish()
to start tracking its development.
Summarize all our results to get a feel for top traits (let’s call this: trait/trait MR). A logical addition that we didn’t discuss would be to meta-analyze across sexes and see what traits are significant in pooled analysis and then check which of these are significantly different between sexes.
Test linear association across bins (both age and time-together bins) using IVW estimated inversely weighted by SE.
Combine age and time-together bins into a grid of effect sizes to see if we see any pattern.
Move beyond our trait/trait MR into investigating how one trait impacts other traits to tease out direct vs indirect effects, two parts here:
Replicate permutation procedure from Tenesa paper. Do you still want to explore this?
Explore dietary traits - request estimates from Ninon?
Re (#4), for the trait/trait MR, I essentially followed a 2-sample MR procedure (just as a refresher for us both), so for example BMI partner vs BMI trait:
For the univariate analysis between two traits, I think what you were suggesting is to follow exactly the same procedure as above. So for example, disease partner vs BMI trait:
For the multivariate model, so if the model of interest is BMI ~ BMI + education + diet + activity level:
Does this look right (particularly for the multivariate model)? i.e. the final MR model only includes beta estimates, no raw genetic data.
I also understood that one of the traits to explore would be PCs. To me it seems logical that this would be a causal variable to explore (for eg, an MR being: BMI_beta ~ PCX_beta) rather than the other way around. If I have that right, then that means we would need IVs for PCs. At quick glance, Neale doesn’t have this available. Do you know if anyone in the group would have done this, otherwise I should run this GWAS.