Description Usage Arguments Value Examples
Function diffuse_mc
has an implemented parallelisation of the
Monte Carlo trials for diffusion in a network.
The input scores are assumed to be sparse and are
internally sparsified, so very dense scores
migth take time with current implementation.
1 2 3 4 5 6 7 8 9 10 | diffuse_mc(
graph,
scores,
n.perm = 10000,
sample.prob = NULL,
seed = 1,
oneminusHeatRank = TRUE,
K = NULL,
...
)
|
graph |
igraph object |
scores |
Recursive list, can have either binary or quantitative scores |
n.perm |
Numeric, number of permutations |
sample.prob |
Numeric, probabilities (needn't be scaled) to permute the
input. This is passed to |
seed |
Numeric, seed for random number generator |
oneminusHeatRank |
Logical, should |
K |
Kernel matrix (if precomputed). If |
... |
currently ignored arguments |
A list containing matrices of heatrank scores
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.