convert.map | R Documentation |
Convert a genetic map from using one map function to another.
## S3 method for class 'map'
convert(object, old.map.function=c("haldane", "kosambi", "c-f", "morgan"),
new.map.function=c("haldane", "kosambi", "c-f", "morgan"), ...)
object |
A genetic map object, of class |
old.map.function |
The map function used in forming the map in
|
new.map.function |
The new map function to be used. |
... |
Ignored at this point. |
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
.
The same as the input, but with inter-marker distances changed to reflect a different map function.
Karl W Broman, broman@wisc.edu
est.map
, replace.map
data(listeria)
map <- pull.map(listeria)
map <- convert(map, "haldane", "kosambi")
listeria <- replace.map(listeria, map)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.