PCAdist: Compute distance in PCA space for matrix

View source: R/CellWalkerFunctions.R

PCAdistR Documentation

Compute distance in PCA space for matrix

Description

PCAdist() computes Euclidian PCA distance matrix between the rows of a matrix, scaled by the greatest distance and subtracted from 1.

Usage

PCAdist(m)

Arguments

m

matrix

Value

Euclidian PCA distance matrix between rows of m

Examples

data("SampleCellWalkRData")
PCAdist(SampleCellWalkRData$ATACMat)


PFPrzytycki/CellWalkR documentation built on Oct. 26, 2023, 1:50 p.m.