| chromLocation-class {annotate} | R Documentation |
This class provides chromosomal information provided by a Bioconductor metadata package. By creating the object once for a particular package, it can be used in a variety of locations without the need to recomputed values repeatedly.
new('chromLocation',
organism = ...., # Object of class character
dataSource = ...., # Object of class character
chromLocs = ...., # Object of class list
probesToChrom = ...., # Object of class environment
chromInfo = ...., # Object of class numeric
geneSymbols = ...., # Object of class environment
)
organism:dataSource:chromLocs:probesToChrom:chromInfo:geneSymbols:
curWarn <- getOption("warn")
options(warn=0)
on.exit(options(warn=curWarn), add=TRUE)
if (require("hgu95av2")) {
z <- buildChromLocation("hgu95av2")
## find the number of chromosomes
nChrom(z)
## Find the names of the chromosomes
chromNames(z)
## get the organism this object refers to
organism(z)
## get the lengths of the chromosomes in this object
chromLengths(z)
} else print("This example requires the hgu95av2 data package")