TrainKNN: Runs PCA on the training dataset

Description Usage Arguments Value

View source: R/mapping.R

Description

Runs PCA on the training dataset

Usage

1
TrainKNN(norm.counts, genes.use, ident, pcs.use = 40)

Arguments

norm.counts

Normalized gene expression matrix, should be genes x samples

genes.use

Genes to use for PCA

ident

Cell type identity

pcs.use

Number of PCs to calculate

Value

List of gene expression, cell identity, PCA embeddings, PCA loadings


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