TrainKNN: Runs PCA on the training dataset

View source: R/mapping.R

TrainKNNR Documentation

Runs PCA on the training dataset

Description

Runs PCA on the training dataset

Usage

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 Aug. 24, 2023, 2:26 a.m.