getKNN: getKNN

Description Usage Arguments Author(s)

Description

Calculates Euclidean distance in PCA space.

Usage

1
getKNN(pca, pcs, k, mask)

Arguments

pca

Matrix; Principal components as columns, samples as rows.

pcs

Integer; Length 1 vector indicating the max principal component to retain.

k

Integer; Number of nearest neighbors.

mask

Integer, Principal components to mask.

Author(s)

Jason T. Serviss


EngeLab/CIMseq documentation built on Jan. 25, 2022, 5 a.m.