EVOLUTION-MANAGER
Edit File: pull.geno.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: Pull out the genotype data from a cross</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 pull.geno {qtl}"><tr><td>pull.geno {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Pull out the genotype data from a cross</h2> <h3>Description</h3> <p>Pull out the genotype data from a cross object, as a single big matrix. </p> <h3>Usage</h3> <pre>pull.geno(cross, chr)</pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>cross</code></td> <td> <p>An object of class <code>cross</code>. See <code><a href="read.cross.html">read.cross</a></code> for details.</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 matrix of size n.ind x tot.mar. The raw genotype data in the input cross object, with the chromosomes pasted together. </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="pull.pheno.html">pull.pheno</a></code>, <code><a href="pull.map.html">pull.map</a></code> <code><a href="pull.draws.html">pull.draws</a></code>, <code><a href="pull.genoprob.html">pull.genoprob</a></code>, <code><a href="pull.argmaxgeno.html">pull.argmaxgeno</a></code> </p> <h3>Examples</h3> <pre> data(listeria) dat <- pull.geno(listeria) # image of the genotype data image(1:ncol(dat),1:nrow(dat),t(dat),ylab="Individuals",xlab="Markers", col=c("red","yellow","blue","green","violet")) abline(v=cumsum(c(0,nmar(listeria)))+0.5) abline(h=nrow(dat)+0.5) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>