net.kernel {PPInfer} | R Documentation |
This function gives the regularized Laplacian matrix for a graph.
net.kernel(g, decay = 0.5)
g |
graph |
decay |
decaying constant (default: 0.5) |
the regularized Laplacian matrix
Dongmin Jung, Xijin Ge
laplacian_matrix
# example 1 ## Not run: string.db.9606 <- STRINGdb$new(version = '10', 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)