ParallelHeatrank {diffuStats} | R Documentation

## Compute heatrank in parallel

### Description

`ParallelHeatrank` is a wrapper that computes heatranks for (possibly) different backgrounds and for multiple inputs at once. It will reuse the permutations, which have to be passed to the function. The input must be binary for this implementation, so numeric values for each node are not supported.

### Usage

    ParallelHeatrank(R, perm, G)

### Arguments

`R` | dense matrix with the diffusion kernel
`perm` | dense matrix with the permutations (indices in columns). This has to ensure that enough indices are sampled, i.e. at least as great as the largest list in the input (largest `colSums` in G)
`G` | S4 sparse matrix with the heat sources

### Value

a matrix with the same amount of rows that `R` and columns in `G`, containing the heatrank scores. These scores are corrected using `(r + 1)/(p + 1)` instead of `r/p`. The smaller the score, the warmer the node.

[Package diffuStats version 1.10.2 Index]