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

1
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, kbroman@biostat.wisc.edu

See Also

pull.map, replace.map, summary.cross

Examples

1
2
data(hyper)
hyper <- jittermap(hyper)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.