ase: Adjacency Spectral Embedding

Description Usage Examples

View source: R/ase.R

Description

The eigendecomposition of an adjacency matrix provides a way to embed a graph as points in finite dimensional Euclidean space. This embedding allows the full arsenal of statistical and machine learning methodology for multivariate Euclidean data to be deployed for graph inference. Adjacency Spectral Embedding performs this embedding of matrix A into dim dimensions.

Usage

1
A_embed <- ase(A, dim)

Examples

1
2
3
4
N <- 200
A <- matrix(data = runif(N*N), ncol = N, nrow = N)
dims <- 15
A_embed <- ase(A, dims)

openconnectome/FlashR documentation built on May 24, 2019, 2:29 p.m.