classify.cells: Classify New Embedded Cells

View source: R/cellClassifier.R

classify.cellsR Documentation

Classify New Embedded Cells

Description

Classify new embedded cells using GF-ICF transformation and K-nn algorithm. Existing cells are used as training set.

Usage

classify.cells(data, classes, k = 7, seed = 18051982, method = "PCA")

Arguments

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.

Value

A dataframe containing cell id and predicted classes.


dibbelab/gficf documentation built on Nov. 2, 2022, 2:28 a.m.