Learn R Programming

humarray (version 1.2)

chipId: Access chip-ids for ChipInfo

Description

Returns the chip-ids for the chip object, e.g, "imm_1_898835", etc Only if these are annotated internally, or else a vector of NAs Note that the main purpose of this is because sometimes chip-ids do not satisfy conditions to be an R column/row name, e.g, start with a number, illegal characters, etc. So this allows certain functions to return the actual chip names that would match the official manifest. These will largely be the same as the rownames, but the rownames will always be valid R column names, converted from the original using clean.snp.ids() [internal function]

Usage

chipId(x)

# S4 method for ChipInfo chipId(x)

Arguments

x

a ChipInfo object

Value

chip ids: character vector of IDs (or NAs)