EVOLUTION-MANAGER
Edit File: pull.argmaxgeno.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 results of the Viterbi algorithm 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.argmaxgeno {qtl}"><tr><td>pull.argmaxgeno {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Pull out the results of the Viterbi algorithm from a cross</h2> <h3>Description</h3> <p>Pull out the results of <code><a href="argmax.geno.html">argmax.geno</a></code> from a cross as a matrix. </p> <h3>Usage</h3> <pre>pull.argmaxgeno(cross, chr, include.pos.info=FALSE, rotate=FALSE)</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> <tr valign="top"><td><code>include.pos.info</code></td> <td> <p>If TRUE, include columns with marker name, chromosmoe ID, and cM position. (If <code>include.pos.info=TRUE</code>, we take <code>rotate=TRUE</code>.)</p> </td></tr> <tr valign="top"><td><code>rotate</code></td> <td> <p>If TRUE, return matrix with individuals as columns and positions as rows. If FALSE, rows correspond to individuals.</p> </td></tr> </table> <h3>Value</h3> <p>A matrix containing numeric indicators of the inferred genotypes. Multiple chromosomes are 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.geno.html">pull.geno</a></code>, <code><a href="pull.genoprob.html">pull.genoprob</a></code>, <code><a href="pull.draws.html">pull.draws</a></code>, <code><a href="argmax.geno.html">argmax.geno</a></code> </p> <h3>Examples</h3> <pre> data(listeria) listeria <- argmax.geno(listeria, step=1, stepwidth="max") amg <- pull.argmaxgeno(listeria, chr=c(5,13), include.pos.info=TRUE, rotate=TRUE) amg[1:5,1:10] </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.66 <a href="00Index.html">Index</a>]</div> </body></html>