From 61cbe6834be04ed7e3d46ae0f8498f5b277000d2 Mon Sep 17 00:00:00 2001 From: WANG Zhiwei <48282751+statwangz@users.noreply.github.com> Date: Sun, 17 Sep 2023 01:15:14 +0800 Subject: [PATCH] Add sparse mode --- man/createMFAIR.Rd | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/man/createMFAIR.Rd b/man/createMFAIR.Rd index 6af2ff0..a8f776a 100644 --- a/man/createMFAIR.Rd +++ b/man/createMFAIR.Rd @@ -4,13 +4,22 @@ \alias{createMFAIR} \title{Create the MFAIR object with main data matrix and auxiliary information.} \usage{ -createMFAIR(Y, X, Y_center = TRUE, K_max = 1L, project = "MFAIR") +createMFAIR( + Y, + X, + Y_sparse = FALSE, + Y_center = TRUE, + K_max = 1L, + project = "MFAIR" +) } \arguments{ \item{Y}{A matrix or Matrix::dgCMatrix. The main data matrix of N samples and M features.} \item{X}{A data.frame. The auxiliary information data frame of N samples and C covariates.} +\item{Y_sparse}{Logical. Determines whether to use spase mode for Y.} + \item{Y_center}{Logical. Determines whether centering is performed.} \item{K_max}{An integer. The maximum rank allowed in the model.}