Description Usage Arguments Value Examples
Construct a laplacian eigenmap embedding
1 2 | laplacian_eigenmap(W, measure_type = c("unorm", "norm"), p = 2,
eig_tol = 1e-10)
|
W |
The weighted graph adjacency matrix |
measure_type |
Type of laplacian eigenmap (norm for normalised, unorm otherwise) |
p |
Dimension of the embedded space, default is 2 |
eig_tol |
The value below which an eigenvalue is deemed to be 0. Ideally these would all
be |
A list containing two entries:
embedding
A p
by nrow(W)
matrix with the laplacian eigenmaps embedding
connected_components
A vector of length nrow(W)
of integers specifying to which
connected component each cell belongs
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.