get_NMF: Obtain NMF low dimensional components for dimension reduction...

View source: R/SpatialPCA_utilties.R

get_NMFR Documentation

Obtain NMF low dimensional components for dimension reduction methods comparison.

Description

Obtain NMF low dimensional components for dimension reduction methods comparison.

Usage

get_NMF(count, PCnum)

Arguments

count

Count 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 NMF. d is number of low dimensional components, which is same as number of Spatial PCs in SpatialPCA. n is sample size.


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