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


diffuStats documentation built on Feb. 22, 2021, 10 a.m.