Data input and preprocessingConvenience functions for preparing input to model |
|
---|---|
Collapse high correlation SNPs |
|
Flip alleles and gather results into lists |
|
Plot initial estimates over signal clusters |
|
Trim signal clusters based on pairwise r2 |
|
Fitting the MRLocus modelTwo step Bayesian model and convenience function |
|
Fit the colocalization model per signal cluster |
|
Extract SNPs from colocalization for slope fitting |
|
Fit the mediation slope model: effect of A on B |
|
Visualization of model fit |
|
Plot estimates from MRLocus slope fitting step |
|
Estimate the normalized allelic spread |
|
Basic prior checks on MRLocus slope fit |
|
Simulation |
|
Make simple simulated summary data |
|
Package man page |
|
MRLocus - see this page for typical order of functions |