pull.pheno: Pull out phenotype data from a cross

Description Usage Arguments Value Author(s) See Also Examples

View source: R/pull_stuff.R

Description

Pull out selected phenotype data from a cross object, as a data frame or vector.

Usage

1
pull.pheno(cross, pheno.col)

Arguments

cross

An object of class cross. See read.cross for details.

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.

Value

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.

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

pull.geno, pull.map

Examples

1
2

qtl documentation built on June 20, 2017, 9:05 a.m.

Search within the qtl package
Search all R packages, documentation and source code