https://github.com/danymukesha/mrforad
an R package for performing Mendelian Randomization analyses using Alzheimer’s disease GWAS data. It supports custom summary statistics, SNP harmonization, MR methods (IVW, Egger, median), and integrates with MR-Base and NIAGADS repositories.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Repository
an R package for performing Mendelian Randomization analyses using Alzheimer’s disease GWAS data. It supports custom summary statistics, SNP harmonization, MR methods (IVW, Egger, median), and integrates with MR-Base and NIAGADS repositories.
Basic Info
- Host: GitHub
- Owner: danymukesha
- Language: R
- Default Branch: main
- Size: 9.77 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
MRforAD
Package overview
The MRforAD is an R package designed for Mendelian Randomization (MR)
analysis, focusing on Alzheimer's Disease (AD). Its main purpose is to
be used to study causal relationships in AD using genetics data. It uses
publicly available GWAS summary statistics, such as those from Jansen et
al. (2019), and supports integration with user-provided ADNI data from
those with approved access.
Introduction
Mendelian Randomization (MR) is a statistical method in genetic epidemiology used to infer causal relationships between casual relationships between an exposure and an outcome by using genetic variants as instrumental variables. This approach is particularly interesting for studying complex disease like Alzheimer's disease (AD), where observational studies may be confounded by environmental factors.
The Alzheimer's Disease Neuroimaging Initiative (ADNI) provides a rich dataset including genetic, clinical, and imaging data; making it a primary candidate for MR analyses. However, ADNI data access is restricted, requiring approval through the LONI Image and Data Archive. With that being said, the development of an R package focuses on using publicly available summary statistics for AD, while providing functionality for any user with ADNI access.
Bioinformatic analyses background
MR relies on three key assumptions: the genetic instrument is associated with the exposure (relevance), is independent of confounders (independence), and affects the outcome only through the exposure (exclusion restriction). For AD, this method can help to identify causal risk factors, such as genetic variants influencing AD risk through pathways like immune response or lipid metabolism.
The ADNI cohort, with is longitudinal data on cognitively normal, mild cognitive impairment and AD/dementia participants, is ideal for such analyses. But its restricted access poses a challenge. To address this, the package uses publicly available AD GWAS summary statistics, ensuring broad accessibility while maintaining relevance for ADNI users.
Data and functionality
Since ADNI data requires approved access through the LONI Image and Data Archive (http://adni.loni.usc.edu), this tool cannot include it directly. However, i used directly summary statistics from Jansen et al. (2019), available at https://ctg.cncr.nl/software/summary_statistics. I included functionns to download these datasets, perform MR analyses (including instrument selection, harmonization, and sensitivity checks), and visualize results by making is suitably for the users to present the results.
Core functions:
-
download_gwas_data_url(url): this f(x) downloads GWAS summary statistics from specified URLs. -
get_ad_gwas_summary(study_id): this fx() retrieves data from the GWAS/NIAGADS API, which provides programmatic access to publicly AD GWAS summary statistic. -
run_mr_pipeline(exposure_data, outcome_data): this f(x) performs the full MR pipeline, including instrument selection, harmonization, MR analysis (e.g., IVW, MR-Egger, weighted median), sensitivity analyses (e.g., MR-egger intercept, heterogeneity tests), and visualization. -
plot_mr_results(mr_results): this f(x) generates standard MR plots like scatter, forest and funnel plots. -
prepare_mr_data(exposure_file, outcome_file): this f(x) loads and prepares user-provided data for analysis.
Owner
- Name: Dany Mukesha
- Login: danymukesha
- Kind: user
- Location: Rome, Italy
- Website: danymukesha.github.io
- Repositories: 1
- Profile: https://github.com/danymukesha
GitHub Events
Total
- Public event: 1
- Push event: 1
Last Year
- Public event: 1
- Push event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| danymukesha | d****a@g****m | 5 |
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0