EVOLUTION-MANAGER
Edit File: convert.map.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Change map function for a genetic map</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for convert.map {qtl}"><tr><td>convert.map {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Change map function for a genetic map</h2> <h3>Description</h3> <p>Convert a genetic map from using one map function to another. </p> <h3>Usage</h3> <pre> ## 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"), ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>object</code></td> <td> <p>A genetic map object, of class <code>"map"</code>: A list whose components are vectors of marker locations.</p> </td></tr> <tr valign="top"><td><code>old.map.function</code></td> <td> <p>The map function used in forming the map in <code>object</code>.</p> </td></tr> <tr valign="top"><td><code>new.map.function</code></td> <td> <p>The new map function to be used.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Ignored at this point.</p> </td></tr> </table> <h3>Details</h3> <p>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 <code>old.map.function</code>, and then back to distances with the <code>new.map.function</code>. </p> <h3>Value</h3> <p>The same as the input, but with inter-marker distances changed to reflect a different map function. </p> <h3>Author(s)</h3> <p>Karl W Broman, <a href="mailto:broman@wisc.edu">broman@wisc.edu</a> </p> <h3>See Also</h3> <p><code><a href="est.map.html">est.map</a></code>, <code><a href="replace.map.html">replace.map</a></code> </p> <h3>Examples</h3> <pre> data(listeria) map <- pull.map(listeria) map <- convert(map, "haldane", "kosambi") listeria <- replace.map(listeria, map) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.66 <a href="00Index.html">Index</a>]</div> </body></html>