All functions

Calc_condBF()

Conditional Bayesian factors

Get_GenInverse()

The inverse of the matrix

MRMEGAout

The meta-analysis output from MR-MEGA

MR_mega_run()

environment-adjusted MR-MEGA approach or MR-MEGA approach.

envMRMEGAout

The environment-adjusted meta-analysis output from env-MR-MEGA

env_MR_MEGA_fm()

(env-)MR-MEGA fine-mapping approach (env-MR-MEGAfm)

gwas.list

GWAS files

ld.list

The linkage disequilibrium (LD) matrices

lr_env_w()

The weighted environment-adjusted linear regression.

lr_w()

The weighted linear regression.

meta_sel_condest()

Conditional analysis of the linear regression model

meta_sel_joinest()

Joint analysis of a linear regression model

pcs

Two axes of genetic variation.

read_gwasld()

Read-in GWAS files and LD structures

sexsmk

The smoking proportions across the 10 sex stratified populations.