Description Usage Arguments Value Examples
train k-nearest neighbours model with pca scores as feature vectors and interaction modes as classifications
1 | trainKNN(my_train_scores, my_train_modes)
|
my_train_scores |
matrix where each row represents a feature vector (gene) |
my_train_modes |
character vector of length n where each element indicates the interaction mode classification for a gene |
caret k-nearest neighbours model
1 2 3 4 | ## Not run:
knn_model <- trainKNN(my_pca_scores, my_modes)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.