Description Usage Arguments Details Value Author(s) Examples
View source: R/GraphAlignment.R
Compute the optimal scoring parameters (node score) for a given alignment.
1 | ComputeNodeParameters(dimA, dimB, R, P, lookupNode, clamp=TRUE)
|
dimA |
size of network A |
dimB |
size of network B |
R |
node similarity score matrix |
P |
permutation vector (see InitialAlignment, AlignNetworks) |
lookupNode |
node bin lookup table (see GetBinNumber) |
clamp |
clamp values to range when performing bin lookups |
This function computes optimal node score parameters for use with ComputeM and AlignNetworks. It takes the size of the networks, a matrix of node similarities R, an initial alignment P, and the lookup table for node binning, lookupNode, as parameters.
The return value is list containing the node score vectors s0 and s1.
Joern P. Meier, Michal Kolar, Ville Mustonen, Michael Laessig, and Johannes Berg
1 2 3 4 5 6 7 8 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.