Learn R Programming

oligoClasses (version 1.34.0)

chromosome-methods: Methods for function chromosome in package oligoClasses

Description

Methods for function chromosome in package oligoClasses ~~

Arguments

Methods

The methods for chromosome extracts the chromosome (represented as an integer) for each marker in a eSet-derived class or a AnnotatedDataFrame-derived class.
signature(object = "AnnotatedDataFrame")
Accessor for chromosome.
signature(object = "eSet")
If 'chromosome' is included in fvarLabels(object), the integer representation of the chromosome will be returned. Otherwise, an error is thrown.
signature(object = "GenomeAnnotatedDataFrame")
Accessor for chromosome. If annotation was not available due to a missing or non-existent annotation package, the value returned by the accessor will be a vector of zero's.
(chromosome(object) <- value): Assign chromosome to the AnnotatedDataFrame slot of an eSet-derived object.
signature(object = "RangedDataCNV")
Accessor for chromosome.

See Also

chromosome2integer

Examples

Run this code
chromosome2integer(c(1:22, "X", "Y", "XY", "M"))

Run the code above in your browser using DataLab