getid {qtl} | R Documentation |
Pull out the individual identifiers from a cross object.
getid(cross)
cross |
An object of class cross . See
read.cross for details. |
A vector of individual identifiers, pulled from the phenotype data (a
column named id
or ID
).
If there are no such identifiers in the cross, the function returns
NULL
.
Karl W Broman, kbroman@biostat.wisc.edu
data(fake.f2) # create an ID column fake.f2$pheno$id <- paste("ind", sample(nind(fake.f2)), sep="") getid(fake.f2)