View source: R/cellClassifier.R
classify.cells | R Documentation |
Classify new embedded cells using GF-ICF transformation and K-nn algorithm. Existing cells are used as training set.
classify.cells(data, classes, k = 7, seed = 18051982, method = "PCA")
data |
list; GFICF object |
classes |
chareachters; Classes of aready exsiting cells in the order of thay are in colnames(data$gficf). |
k |
integer; Number of K-nn to use for classification. Odd number less than 30 are prefered. |
seed |
integer; Initial seed to use. |
method |
chareachters; Which space in which apply KNN. Default is PCA but embedded usually gives better results. |
A dataframe containing cell id and predicted classes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.