transformation: Distance matrix transformation

Description Usage Arguments Value

View source: R/CoreFunctions.R

Description

All distance matrices are transformed using either principal component analysis (PCA) or by calculating the eigenvectors of the graph Laplacian (Spectral). The columns of the resulting matrices are then sorted in descending order by their corresponding eigenvalues.

Usage

1
transformation(dists, method)

Arguments

dists

distance matrix

method

transformation method: either 'pca' or 'laplacian'

Value

transformed distance matrix


hemberg-lab/SC3 documentation built on Dec. 18, 2019, 10:02 p.m.