EVOLUTION-MANAGER
Edit File: table2map.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 a table of marker positions to a map object.</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 table2map {qtl}"><tr><td>table2map {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Convert a table of marker positions to a map object.</h2> <h3>Description</h3> <p>Convert a data frame with marker positions to a map object. </p> <h3>Usage</h3> <pre>table2map(tab)</pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>tab</code></td> <td> <p>A data frame with two columns: chromosome and position. The row names are the marker names.</p> </td></tr> </table> <h3>Value</h3> <p>A <code>map</code> object: a list whose components (corresponding to chromosomes) are vectors of marker positions. </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="map2table.html">map2table</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> tab <- data.frame(chr=c(1,1,1,1,2,2,2,2,3,3,3,3), pos=c(0,2,4,8,0,2,4,8,0,2,4,8)) rownames(tab) <- paste0("marker", 1:nrow(tab)) map <- table2map(tab) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>