model_set_FAST {ProFAST} | R Documentation |
Set parameters for FAST model
Description
Prepare parameters setup for FAST model fitting.
Usage
model_set_FAST(
maxIter = 30,
epsLogLik = 1e-05,
error_heter = TRUE,
Psi_diag = FALSE,
verbose = TRUE,
seed = 1
)
Arguments
maxIter |
the maximum iteration of ICM-EM algorithm. The default is 30. |
epsLogLik |
an optional positive vlaue, tolerance of relative variation rate of the observed pseudo loglikelihood value, defualt as '1e-5'. |
error_heter |
a logical value, whether use the heterogenous error for FAST model, default as |
Psi_diag |
a logical value, whether set the conditional covariance matrices of intrisic CAR to diagonal, default as |
verbose |
a logical value, whether output the information in iteration. |
seed |
a postive integer, the random seed to be set in initialization. |
Value
return a Seurat object with new reduction (named reduction.name) added to the 'reductions' slot.
Examples
model_set_FAST(maxIter = 30, epsLogLik = 1e-5,
error_heter=TRUE, Psi_diag=FALSE, verbose=TRUE, seed=2023)
[Package ProFAST version 1.4 Index]