get.dist.loci {MDSMap} | R Documentation |
Calculates the distance of a marker from some objective "truth".
Description
Calculates the distance of a marker from some objective "truth".
Usage
get.dist.loci(loci, estmap, realmap)
Arguments
loci |
Character string or number specifying the marker name. |
estmap |
Data frame in which has a column called "names" containing marker names and a column called "position" containing marker positions. |
realmap |
Data frame in which the first column contains marker names and the second column marker positions. Column names are not necessary. |
Details
Both the first column of realmap
and estmap$name
must contain
markername
, but aside from this they do not have to have identical entries.
Value
position in estmap-position in realmap
[Package MDSMap version 1.1 Index]