find.pheno {qtl} | R Documentation |
Find the column number corresponding to a particular phenotype name.
find.pheno(cross, pheno)
cross |
An object of class cross . See
read.cross for details. |
pheno |
Vector of phenotype names (as character strings). |
A vector of numbers, corresponding to the column numbers of the phenotype in the input cross with the specified names.
Brian Yandell
data(fake.bc) find.pheno(fake.bc, "sex")