An object of class cross. See
read.cross for details.
chr
The chromosome for which the marker order is to be
switched. Only one chromosome is allowed. (This should be a character
string referring to the chromosomes by name.)
order
A vector of numeric indices defining the new marker
order. The vector may have length two more than the number of
markers, for easy in use with the output of the function
ripple.
error.prob
Assumed genotyping error rate (passed to
est.map).
Indicates whether to estimate sex-specific maps; this is
used only for the 4-way cross.
Value
The input cross object, but with the marker order on the
specified chromosome updated, and with any derived data removed
(except for recombination fractions, if present, which are not
removed); the genetic map for the relevant chromosome is
re-estimated.