powered by
Replace the map portion of a cross object.
replace.map(cross, map) # S3 method for cross replacemap(object, map)
The input cross object with the genetic map replaced by the input map. Maps for results from
cross
map
calc.genoprob, sim.geno and
calc.genoprob
sim.geno
argmax.geno are also replaced, using interpolation if necessary.
argmax.geno
An object of class cross. See read.cross for details.
read.cross
Same as cross.
A list containing the new genetic map. This must be the same length and with the same marker names as that contained in cross.
Karl W Broman, broman@wisc.edu
pull.map, est.map
pull.map
est.map
data(fake.f2) fake.f2 <- subset(fake.f2, chr=18:19) newmap <- est.map(fake.f2) plotMap(fake.f2, newmap) fake.f2 <- replace.map(fake.f2, newmap)
Run the code above in your browser using DataLab