model_selection {lnmCluster}R Documentation

Model selections for lnmbicluster

Description

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

Usage

model_selection(W_count, range_G, range_Q, model, permutation, iter, const, X)

Arguments

W_count

The microbiome count matrix that you want to analyze.

range_G

All possible number of component groups, a vector.

range_Q

All possible number of bicluster groups Q, a vector.

model

A vector of string that contain cov_str you want to select. Default is all 16 models.

permutation

Only has effect when model contains UUU, UUG, UUD or UUC. If TRUE, it assume the number of biclusters could be different for different components. If FALSE, it assume the number of biclusters are the same cross all components.

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 large K and Q, because of lots of combinations: it is a sum of a geometric series with multiplier max(Q) from 1 to max(K).


[Package lnmCluster version 0.3.1 Index]