Run SVM on training cells

Description

This function performs training of the SVM classifier on the training cells, which indeces are contained in the svm_train_inds item of the object@sc3 slot. Then it predicts the labels of the remaining cells using the SVM classifier. Finally it creates and populates the following items of the object@sc3 slot:

  • svm_result - contains labels of the cells predicted by the SVM ordered as the cells in the original dataset.

Usage

1
2
3
4
sc3_run_svm.SCESet(object, k)

## S4 method for signature 'SCESet'
sc3_run_svm(object, k)

Arguments

object

an object of 'SCESet' class

k

the number of clusters k for which the SVM should be run

Value

an object of 'SCESet' class

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.