model_selection_lasso {lnmCluster}R Documentation

Model selections for plnmfa

Description

fit several models for plnmfa along with 3 criteria values: AIC BIC and ICL

Usage

model_selection_lasso(W_count, K, Q_K, model, range_tuning, iter, const, X)

Arguments

W_count

The microbiome count matrix that you want to analyze.

K

A specific number of component

Q_K

A specific number of latent dimension.

model

A specific model name, UUU or GUU

range_tuning

A range of tuning parameters specified, ranged from 0-1.

iter

Max iterations, defaul is 150.

const

Constant permutation term in multinomial distribution.

X

The regression covariates matrix, which generates from model.matrix.

Value

A dataframe that contain the cov_str, K, Q, AIC, BIC, ICL values for model. There may be a lot rows if long range of tuning parameters.


[Package lnmCluster version 0.3.1 Index]