Description Usage Arguments Value Author(s) References
Performs prediction of cluster membership via trained model
1 2 3 4 5 6 7 8 9 10 | FSCseq_predict(
X = NULL,
fit,
cts_train = NULL,
cts_pred,
SF_train = NULL,
SF_pred,
maxit = 100,
eps = 1e-04
)
|
X |
(optional) design matrix of dimension n by p |
fit |
FSCseq results object |
cts_train |
Training count data matrix of dimension g by n_train |
cts_pred |
Prediction/test count data matrix of dimension g by n_pred |
SF_train |
Vector of length n_train, size factors for training subjects. Can be accessed from the fit. |
SF_pred |
Vector of length n_pred, size factors for prediction subjects |
maxit |
Maximum number of iterations to run if prediction batches are estimated, default is 100. |
eps |
Tolerance for relative change in Q function convergence criterion if prediction batches are estimated, default is 1e-4. |
list containing outputs final_clusters: vector of length n of resulting clusters, wts: k by n matrix of E step weights
David K. Lim, deelim@live.unc.edu
https://github.com/DavidKLim/FSCseq
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.