README.md

glsmr

GAM and linear stratified MR

This is an R package to aid in determining if observational or two-stage least square (instrument variable or in genetics Mendelian randomization) analysis have a non-linear relationship between expoosure and outcome.

installation

devtools::install_github("hughesevoanth/glsmr")

use

An example figure from plot_glsmr()

See this repo's wiki for more information

wiki page here



hughesevoanth/glsmr documentation built on May 14, 2023, 3:41 p.m.