EVOLUTION-MANAGER
Edit File: pull.pheno.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 phenotype 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.pheno {qtl}"><tr><td>pull.pheno {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Pull out phenotype data from a cross</h2> <h3>Description</h3> <p>Pull out selected phenotype data from a cross object, as a data frame or vector. </p> <h3>Usage</h3> <pre>pull.pheno(cross, pheno.col)</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>pheno.col</code></td> <td> <p>A vector specifying which phenotypes to keep or discard. This may be a logical vector, a numeric vector, or a vector of character strings (for the phenotype names). If missing, the entire set of phenotypes is output.</p> </td></tr> </table> <h3>Value</h3> <p>A data.frame with columns specifying phenotypes and rows specifying individuals. If there is just one phenotype, a vector (rather than a data.frame) is returned. </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.map.html">pull.map</a></code> </p> <h3>Examples</h3> <pre> data(listeria) pull.pheno(listeria, "sex") </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>