computePCA-methods: Perform principal component analysis.

computePCAR Documentation

Perform principal component analysis.

Description

Compute the correlation between cells using principal component analysis and plot the standard deviation graph.

Usage

computePCA(object, assay.type = "RNA", num.pcs, genes.use = NULL, seed = 1)

## S4 method for signature 'CellRouter'
computePCA(object, assay.type = "RNA", num.pcs, genes.use = NULL, seed = 1)

Arguments

object

CellRouter object.

assay.type

character; the type of data to use.

num.pcs

numeric; number of principal components to compute.

genes.use

character vector; genes used in principal component analysis. Default is all genes in normalized data.

seed

numeric; seed.

Value

CellRouter object with the pca slot updated.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.