Description Usage Arguments Value Author(s) See Also Examples
This function gives the regularized Laplacian matrix for a graph.
1 | net.kernel(g, decay = 0.5)
|
g |
graph |
decay |
decaying constant (default: 0.5) |
the regularized Laplacian matrix
Dongmin Jung, Xijin Ge
laplacian_matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # example 1
## Not run:
string.db.9606 <- STRINGdb$new(version = '11', species = 9606,
score_threshold = 999)
string.db.9606.graph <- string.db.9606$get_graph()
K.9606 <- net.kernel(string.db.9606.graph)
## End(Not run)
# example 2
data(litG)
litG <- igraph.from.graphNEL(litG)
sg <- decompose(litG, min.vertices=50)
sg <- sg[[1]]
K <- net.kernel(sg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.