Learn R Programming

CellChat (version 1.0.0)

runPCA: Dimension reduction using PCA

Description

Dimension reduction using PCA

Usage

runPCA(data.use, do.fast = T, dimPC = 50, seed.use = 42, weight.by.var = T)

Arguments

data.use

input data (samples in rows, features in columns)

do.fast

whether do fast PCA

dimPC

the number of components to keep

seed.use

set a seed

weight.by.var

whether use weighted pc.scores

Value