dmap.check: Reorders a distance map by a new marker order.
Description
Reorders a distance map by a new marker order.
Usage
dmap.check(distmap, newrank)
Arguments
distmap
A symmetric matrix of pairwise inter-marker distances.
newrank
A vector of scalars giving the new rank of each marker, markers
should appear in the same order as in the distmap.
Value
Matrix of pairwise inter-marker distances.
Details
The rows and columns in distmap are reordered such that if entry i in newrank
has value j then row j and column j in the new matrix are row i and column i
from distmap.