Learn R Programming

qtl (version 1.70)

find.pheno: Find column number for a particular phenotype

Description

Find the column number corresponding to a particular phenotype name.

Usage

find.pheno(cross, pheno)

Value

A vector of numbers, corresponding to the column numbers of the phenotype in the input cross with the specified names.

Arguments

cross

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

pheno

Vector of phenotype names (as character strings).

Author

Brian Yandell

Examples

Run this code
data(fake.bc)
find.pheno(fake.bc, "sex")

Run the code above in your browser using DataLab