pull.pheno | R Documentation |
Pull out selected phenotype data from a cross object, as a data frame or vector.
pull.pheno(cross, pheno.col)
cross |
An object of class |
pheno.col |
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. |
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.
Karl W Broman, broman@wisc.edu
pull.geno
, pull.map
data(listeria)
pull.pheno(listeria, "sex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.