source.sink.centrality: Calculates the Source/Sink Centrality of a pathway

Description Usage Arguments Value

View source: R/SourceSinkCentrality.R

Description

Calculates the Source/Sink Centrality of a pathway

Usage

1
source.sink.centrality(adj.matrix, alpha, beta)

Arguments

adj.matrix

the adjacency matrix of a graph to be analyzed

alpha

is the decay factor, similar to the one in Katz centrality

beta

is the relative effect of the sinks vs sources.

Value

A matrix in which the row i hold the vector of influence of the node i on all the other nodes.


pouryany/pathwayDisturbance documentation built on Sept. 1, 2020, 12:13 a.m.