InitialAlignment {GraphAlignment} | R Documentation |
Create a permutation for an initial alignment. Either "random" or "reciprocal" may be specified as the mode argument.
InitialAlignment(psize, r=NA, mode="random")
psize |
size of the alignment |
r |
node similarity score matrix (required for mode 'reciprocal') |
mode |
type of initial alignment |
The return value is a permutation vector of the specified size.
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")