EVOLUTION-MANAGER
Edit File: map2table.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: Convert genetic map from list to table.</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 map2table {qtl}"><tr><td>map2table {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Convert genetic map from list to table.</h2> <h3>Description</h3> <p>Convert a map object (as a list) to a table (as a data frame). </p> <h3>Usage</h3> <pre>map2table(map, chr)</pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>map</code></td> <td> <p>A <code>map</code> object: a list whose components (corresponding to chromosomes) are either vectors of marker positions or matrices with two rows of sex-specific marker positions.</p> </td></tr> <tr valign="top"><td><code>chr</code></td> <td> <p>Optional vector indicating the chromosomes to consider. This should be a vector of character strings referring to chromosomes by name; numeric values are converted to strings. Refer to chromosomes with a preceding <code>-</code> to have all chromosomes but those considered. A logical (TRUE/FALSE) vector may also be used.</p> </td></tr> </table> <h3>Value</h3> <p>A data frame with two or three columns: chromosome and sex-averaged position, or chromosome, female position, and male position. </p> <p>The row names are the marker names. </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="table2map.html">table2map</a></code>, <code><a href="pull.map.html">pull.map</a></code>, <code><a href="est.map.html">est.map</a></code> </p> <h3>Examples</h3> <pre> data(fake.f2) map <- pull.map(fake.f2) map_as_tab <- map2table(map) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>