flip.order | R Documentation |
Flip the orders of markers on a specified set of chromosome, so that the markers will be in the reverse order.
flip.order(cross, chr)
cross |
An object of class |
chr |
Vector indicating the chromosomes to flip. This should be a vector of character strings referring to chromosomes by name. A logical (TRUE/FALSE) vector may also be used. |
If the cross contains results from calc.genoprob
,
sim.geno
, argmax.geno
, or
calc.errorlod
, those results are also updated.
Results of est.rf
and markerlrt
are
deleted.
The input cross
object, but with the marker order on the
specified chromosomes flipped.
Karl W Broman, broman@wisc.edu
switch.order
data(fake.f2)
fake.f2 <- flip.order(fake.f2, c(1, 5, 13))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.