LASSO_coef: Get LASSO model coefficient This function train LASSO model...

Description Usage Arguments Examples

Description

Get LASSO model coefficient This function train LASSO model on train set and test on test set and evaluate model fit

Usage

1
LASSO_coef(df, m_id_sort)

Arguments

df

train set

m_id_sort

metabolite id vector

Examples

1
2
coef_list = list()
coef_list <- LASSO_coef(df, m_id_sort)

czang97/mpred documentation built on July 9, 2019, 2:38 p.m.