prepare_for_svm {SC3} | R Documentation

## A helper function for the SVM analysis

### Description

Defines train and study cell indeces based on the svm_num_cells and svm_train_inds input parameters

### Usage

    prepare_for_svm(N, svm_num_cells = NULL, svm_train_inds = NULL, svm_max)

### Arguments

`N` | number of cells in the input dataset
`svm_num_cells` | number of random cells to be used for training
`svm_train_inds` | indeces of cells to be used for training
`svm_max` | define the maximum number of cells below which SVM is not run

### Value

A list of indeces of the train and the study cells

[Package SC3 version 1.10.1 Index]