ComputeNodeParameters {GraphAlignment}R Documentation

Compute node parameters

Description

Compute the optimal scoring parameters (node score) for a given alignment.

Usage

ComputeNodeParameters(dimA, dimB, R, P, lookupNode, clamp=TRUE)

Arguments

dimA size of network A
dimB size of network B
R node similarity score matrix
P permutation vector
lookupNode node bin lookup table
clamp clamp values to range when performing bin lookups

Value

The return value is list containing the node score vectors s0 and s1.

Examples

  ex<-GenerateExample(dimA=22, dimB=22, filling=.5, covariance=.6,
    symmetric=TRUE, numOrths=10, correlated=seq(1,18))
  
  pinitial<-InitialAlignment(psize=34, r=ex$r, mode="reciprocal")
  
  lookupNode<-c(-.5,.5,1.5)
  nodeParams<-ComputeNodeParameters(dimA=22, dimB=22, ex$r,
    pinitial, lookupNode)

[Package GraphAlignment version 1.0-0 Index]