get_PCA: Obtain PCA low dimensional components for dimension reduction...

View source: R/SpatialPCA_utilties.R

get_PCAR Documentation

Obtain PCA low dimensional components for dimension reduction methods comparison.

Description

Obtain PCA low dimensional components for dimension reduction methods comparison.

Usage

get_PCA(expr, PCnum)

Arguments

expr

Normalized gene expression g by n matrix. g is gene number, n is sample size.

PCnum

Number of PCs.

Value

A d by n matrix of low dimensional components from PCA. d is number of low dimensional components, n is sample size.


shangll123/SpatialPCA documentation built on April 17, 2024, 3:15 a.m.