Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

flip.order

Flip the orders of markers on a set of chromosomes


Description

Flip the orders of markers on a specified set of chromosome, so that the markers will be in the reverse order.

Usage

flip.order(cross, chr)

Arguments

cross

An object of class cross. See read.cross for details.

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.

Details

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.

Value

The input cross object, but with the marker order on the specified chromosomes flipped.

Author(s)

Karl W Broman, broman@wisc.edu

See Also

Examples

data(fake.f2)
fake.f2 <- flip.order(fake.f2, c(1, 5, 13))

qtl

Tools for Analyzing QTL Experiments

v1.48-1
GPL-3
Authors
Karl W Broman <broman@wisc.edu> and Hao Wu, with ideas from Gary Churchill and Saunak Sen and contributions from Danny Arends, Robert Corty, Timothee Flutre, Ritsert Jansen, Pjotr Prins, Lars Ronnegard, Rohan Shah, Laura Shannon, Quoc Tran, Aaron Wolen, Brian Yandell, and R Core Team
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.