Calculates the distance of a marker from some objective "truth".
get.dist.loci(loci, estmap, realmap)
Character string or number specifying the marker name.
Data frame in which has a column called "names" containing marker names and a column called "position" containing marker positions.
Data frame in which the first column contains marker names and the second column marker positions. Column names are not necessary.
position in estmap-position in realmap
Both the first column of realmap
and estmap$name
must contain
markername
, but aside from this they do not have to have identical entries.