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

jittermap

Jitter marker positions in a genetic map


Description

Jitter the marker positions in a genetic map so that no two markers are on top of each other.

Usage

jittermap(object, amount=1e-6)

Arguments

object

Either a cross (an object of class cross; see read.cross for details) or a map (an object of class map; see pull.map for details).

amount

The amount by which markers should be moved.

Value

Either the input cross object or the input map, but with marker positions slightly jittered. If the input was a cross, the function clean is run to strip off any intermediate calculations.

Author(s)

Karl W Broman, broman@wisc.edu

See Also

Examples

data(hyper)
hyper <- jittermap(hyper)

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.