Prepare parameters setup for FAST model fitting.
model_set_FAST(
maxIter = 30,
epsLogLik = 1e-05,
error_heter = TRUE,
Psi_diag = FALSE,
verbose = TRUE,
seed = 1
)
the maximum iteration of ICM-EM algorithm. The default is 30.
an optional positive vlaue, tolerance of relative variation rate of the observed pseudo loglikelihood value, defualt as '1e-5'.
a logical value, whether use the heterogenous error for FAST model, default as TRUE
. If error.heter=FALSE
, then the homogenuous error is used.
a logical value, whether set the conditional covariance matrices of intrisic CAR to diagonal, default as FALSE
a logical value, whether output the information in iteration.
a postive integer, the random seed to be set in initialization.
return a Seurat object with new reduction (named reduction.name) added to the `reductions` slot.
model_set_FAST(maxIter = 30, epsLogLik = 1e-5,
error_heter=TRUE, Psi_diag=FALSE, verbose=TRUE, seed=2023)
#> $maxIter
#> [1] 30
#>
#> $seed
#> [1] 2023
#>
#> $epsLogLik
#> [1] 1e-05
#>
#> $verbose
#> [1] TRUE
#>
#> $error_heter
#> [1] TRUE
#>
#> $Psi_diag
#> [1] FALSE
#>