Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getid

Pull out the individual identifiers from a cross


Description

Pull out the individual identifiers from a cross object.

Usage

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, broman@wisc.edu

See Also

Examples

data(fake.f2)

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

getid(fake.f2)

qtl

Tools for Analyzing QTL Experiments

v1.48-1
GPL-3
Authors
Karl W Broman <broman@wisc.edu> and Hao Wu, with ideas from Gary Churchill and Saunak Sen and contributions from Danny Arends, Robert Corty, Timothee Flutre, Ritsert Jansen, Pjotr Prins, Lars Ronnegard, Rohan Shah, Laura Shannon, Quoc Tran, Aaron Wolen, Brian Yandell, and R Core Team
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.