powered by
Find the column number corresponding to a particular phenotype name.
find.pheno(cross, pheno)
An object of class cross. See read.cross for details.
cross
read.cross
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.
data(fake.bc) find.pheno(fake.bc, "sex")
Run the code above in your browser using DataLab