NEMoE_buildFromList.Rd
This function build NEMoE object from List, dataframe or matrix.
NEMoE_buildFromList( Microbiome, Nutrition, Response, K = NULL, cvParams = list(), taxLevel = NULL, taxTab = NULL, standardize = TRUE, ... )
Microbiome | A list of transformed microbiome data of different taxonomic level. If it is a dataframe or matrix, will convert to a list automatically. |
---|---|
Nutrition | A dataframe of matrix of Nutrition matrix. |
Response | A numeric(factor) vector of Health outcome. |
K | A integer of number of latent class. |
cvParams | A list of cross validation parameters. |
taxLevel | A character of selected name of taxonomic levels. |
taxTab | A dataframe of taxonomic table. |
standardize | Logical flag for x variable standardization. Default is standardize=TRUE. |
... | Other parameters can pass to NEMoE_buildFromList.
See |
A NEMoE object.
data(PD) data_list = PD$data_list Microbiome = data_list$Microbiom Nutrition = data_list$Nutrition Response = data_list$Response NEMoE <- NEMoE_buildFromList(Microbiome = Microbiome, Nutrition = Nutrition, Response = Response)