diffuse_raw {diffuStats} | R Documentation |
Function diffuse
takes a network in
igraph format and an initial state
to score all the nodes in the network.
diffuse_raw(graph, scores, z = FALSE, K = NULL, ...)
graph |
igraph object for the diffusion |
scores |
list of score matrices. For a single input with a single background, supply a list with a vector column |
z |
logical, should z-scores be computed instead of raw scores? |
K |
optional matrix, precomputed diffusion kernel |
... |
currently ignored arguments |
A list of scores, with the same length and
dimensions as scores
# Using a list as input (needed) data(graph_toy) list_input <- list(myInput1 = graph_toy$input_mat) diff_raw <- diffuse_raw( graph = graph_toy, scores = list_input) diff_z <- diffuse_raw( graph = graph_toy, scores = list_input, z = TRUE)