movemarker | R Documentation |
Move a specified marker to a different chromosome.
movemarker(cross, marker, newchr, newpos)
cross |
An object of class |
marker |
The name of the marker to be moved (a character string). |
newchr |
The chromosome to which the marker should be moved. |
newpos |
The position (in cM) at which the marker should be placed. If missing, the marker is placed at the end of the chromosome. |
The input cross
object, but with the specified marker moved to
the specified chromosome.
All intermediate calculations (such as the results of
calc.genoprob
and est.rf
) are
removed.
Karl W Broman, broman@wisc.edu
switch.order
data(badorder)
badorder <- movemarker(badorder, "D2M937", 3, 48.15)
badorder <- movemarker(badorder, "D3M160", 2, 28.83)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.