chipId-methods: Access chip-ids for ChipInfo

Description Usage Arguments Value

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

1
2
3
4
chipId(x)

## S4 method for signature 'ChipInfo'
chipId(x)

Arguments

x

a ChipInfo object

Value

chip ids: character vector of IDs (or NAs)


humarray documentation built on Nov. 20, 2017, 1:05 a.m.