Learn R Programming

qtl (version 0.85-4)

replace.map: Replace the genetic map of a cross

Description

Replace the map portion of a cross object.

Usage

replace.map(cross, map)

Arguments

cross
An object of class cross. See read.cross for details.
map
A list containing the new genetic map. This must be the same length and with the same marker names as that contained in cross.

Value

  • The input cross object with the genetic map replaced by the input map.

See Also

pull.map

Examples

Run this code
data(fake.f2,fake.bc)
map <- pull.map(fake.f2)
fake.bc <- replace.map(fake.bc,map)

Run the code above in your browser using DataLab