getid: Pull out the individual identifiers from a cross

Description Usage Arguments Value Author(s) See Also Examples

Description

Pull out the individual identifiers from a cross object.

Usage

1
getid(cross)

Arguments

cross

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

Value

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.

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

subset.cross, top.errorlod

Examples

1
2
3
4
5
6
data(fake.f2)

# create an ID column
fake.f2$pheno$id <- paste("ind", sample(nind(fake.f2)), sep="")

getid(fake.f2)

byandell/qtl documentation built on May 13, 2019, 9:28 a.m.