- X
a sparse matrix with class dgCMatrix or matrix, specify the log-normalization gene expression matrix used for DR-SC model.
- K
a positive integer allowing scalar or vector, specify the number of clusters in model fitting.
- Adj_sp
an optional sparse matrix with class dgCMatrix, specify the adjoint matrix used for DR-SC model. We provide this interface for those users who would like to define the adjacency matrix by their own.
- q
a positive integer, specify the number of latent features to be extracted, default as 15. Usually, the choice of q is a trade-off between model complexity and fit to the data, and depends on the goals of the analysis and the structure of the data. A higher value will result in a more complex model with a higher number of parameters, which may lead to overfitting and poor generalization performance. On the other hand, a lower value will result in a simpler model with fewer parameters, but may also lead to underfitting and a poorer fit to the data.
- error.heter
an optional logical value, whether use the heterogenous error for DR-SC model, default as TRUE. If error.heter=FALSE, then the homogenuous error is used for probabilistic PCA model in DR-SC.
- beta_grid
an optional vector of positive value, the candidate set of the smoothing parameter to be searched by the grid-search optimization approach.
- maxIter
an optional positive value, represents the maximum iterations of EM.
- epsLogLik
an optional positive vlaue, tolerance vlaue of relative variation rate of the observed pseudo log-loglikelihood value, defualt as '1e-5'.
- verbose
an optional logical value, whether output the information of the ICM-EM algorithm.
- maxIter_ICM
an optional positive value, represents the maximum iterations of ICM.
- wpca.int
an optional logical value, means whether use the weighted PCA to obtain the initial values of loadings and other paramters, default as FALSE which means the ordinary PCA is used.
- int.model
an optional string, specify which Gaussian mixture model is used in evaluting the initial values for DR-SC, default as "EEE"; and see Mclust for more models' names.
- approxPCA
an optional logical value, whether use approximated PCA to speed up the computation for initial values.
- coreNum
an optional positive integer, means the number of thread used in parallel computating, default as 5. If the length of K is one, then coreNum will be set as 1 automatically.