powered by
Convert a genetic map from using one map function to another.
# S3 method for map convert(object, old.map.function=c("haldane", "kosambi", "c-f", "morgan"), new.map.function=c("haldane", "kosambi", "c-f", "morgan"), ...)
The same as the input, but with inter-marker distances changed to reflect a different map function.
A genetic map object, of class "map": A list whose components are vectors of marker locations.
"map"
The map function used in forming the map in object.
object
The new map function to be used.
Ignored at this point.
Karl W Broman, broman@wisc.edu
The location of the first marker on each chromosome is left unchanged. Inter-marker distances are converted to recombination fractions with the inverse of the old.map.function, and then back to distances with the new.map.function.
old.map.function
new.map.function
est.map, replace.map
est.map
replace.map
data(listeria) map <- pull.map(listeria) map <- convert(map, "haldane", "kosambi") listeria <- replace.map(listeria, map)
Run the code above in your browser using DataLab