Learn R Programming

qtl (version 1.38-4)

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
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.

See Also

pull.map, replace.map, summary.cross

Examples

Run this code
data(hyper)
hyper <- jittermap(hyper)

Run the code above in your browser using DataLab