Learn R Programming

stringgaussnet (version 1.1)

convertToDistGraph: Convert to distance graph from STRINGNet

Description

This function converts confidence scores into distance from a STRINGNet object, in order to compute the shortest paths. This function is called in getShortestPaths().

Usage

convertToDistGraph(Network)

Arguments

Network
An object of class STRINGNet

Value

  • A distance matrix converted from a STRINGNet object

Details

Combined scores S are converted to distances D for each interaction i with Di=max(S)+1-Si.

See Also

getShortestPaths