Compute cross validation errors
1 2 | cv.error.SOUP(expr, type = "log", Ks = c(2:10), nfold = 10,
seed = NULL, mc.cores = 1, ext.prop = NULL, pure.prop = 0.5)
|
expr |
A cell-by-gene expression matrix, either the raw counts or log-transformed expressions. |
type |
"log" if |
Ks |
A sequence of cluster numbers |
nfold |
(optional) Number of folds, default is 10 |
seed |
(optional) random seed, default is NULL |
mc.cores |
(optional) Number of cores for parallelization, default is 1 without parallelization |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.