Description Usage Arguments Examples
Get LASSO model coefficient This function train LASSO model on train set and test on test set and evaluate model fit
1 | LASSO_coef(df, m_id_sort)
|
df |
train set |
m_id_sort |
metabolite id vector |
1 2 | coef_list = list()
coef_list <- LASSO_coef(df, m_id_sort)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.