Description Usage Arguments Value Examples
This function train a model from the reference dataset
1 2 3 4 5 6 7 8 9 | train_model(
scale.data,
clus,
gene_cl.ref,
prop = NULL,
p.threshold = NULL,
verbose = TRUE,
...
)
|
scale.data |
A scaled matrix of gene expressions like in the |
clus |
A factor with identities from the reference dataset. |
gene_cl.ref |
A list of cluster-specific markers. Each element of the list contains markers of a cell type. Usually only top100 ranked markers are used. |
prop |
The proportion of the reference data used to train the model. Default=0.5. |
p.threshold |
Probability threshold to consider a cell classified. Default=0.65. |
verbose |
Logical, controls the displaying of additional messages while
running the function. Defaults to |
... |
TODOELI |
A multinomial fitted model, as in the nnet
package.
1 | # TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.