prepare_for_svm: A helper function for the SVM analysis

Description Usage Arguments Value

View source: R/CoreFunctions.R

Description

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

Usage

1
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


hemberg-lab/SC3 documentation built on Dec. 18, 2019, 10:02 p.m.