MRenet-class: MR elastic net class

MRenet-classR Documentation

MR elastic net class

Description

The output class of the glmnet_enet_mr() function. This code was written by Dr. Verena Zuber, <v.zuber(at)imperial.ac.uk> who has kindly given us permission to incorporate it into the PathWAS package. The original code for this can be found here: https://github.com/verena-zuber/demo_AMD/blob/master/mvMR_glmnet.R

Slots

Exposure

The names of the exposure variables.

Outcome

The name of the outcome variable.

Estimate

The causal estimates from the multivariable MR-Lasso method.

Lambda1

The value of the "best" lambda tuning parameter used to compute elasticnet.

Lambda2

The "best" alpha value. With the alpha value being the elasticnet mixing parameter, with 0 ≤ α ≤ 1.


Sabor117/PathWAS documentation built on Nov. 29, 2024, 7:44 a.m.