MapKNN: Map cells to a reference dataset using a kNN classifier

Description Usage Arguments Value

View source: R/mapping.R

Description

Map cells to a reference dataset using a kNN classifier

Usage

1
2
MapKNN(query.norm.counts, train.knn, genes.use = NULL, use.pca = T,
  k = 30)

Arguments

query.norm.counts

Query gene expression matrix

train.knn

Output of TrainKNN

genes.use

Genes to use for classification

use.pca

Whether or not to project to PCs first

k

Number of neighbors

Value

Matrix of cell type probabilities


yanwu2014/cellMapper documentation built on Nov. 14, 2019, 5:04 a.m.