serialHeatrank: Compute heatrank for a single case

Description Usage Arguments Value

View source: R/RcppExports.R

Description

The heatrank incorporates the correction (r + 1)/(p + 1) instead of r/p

Usage

1
serialHeatrank(R, perm, G, ind)

Arguments

R

dense matrix with the diffusion kernel

perm

sparse matrix with the permutations

G

sparse matrix with the heat sources

ind

index of the G column for current source

Value

an arma::vec with node heatranks


b2slab/diffuStats documentation built on Oct. 2, 2018, 12:58 p.m.