Create the MFAIR object with main data matrix and auxiliary information.
Source:R/mfairInitialization.R
createMFAIR.Rd
Create the MFAIR object with main data matrix and auxiliary information.
Arguments
- Y
A matrix or Matrix::dgCMatrix. The main data matrix of N samples and M features.
- X
A data.frame. The auxiliary information data frame of N samples and C covariates.
- Y_sparse
Logical. Determines whether to use spase mode for Y.
- Y_center
Logical. Determines whether centering is performed.
- K_max
An integer. The maximum rank allowed in the model.
- project
Character. Name of the project (for record keeping).