buildChromLocation {annotate} | R Documentation |
This function will take the name of a data package and build a chromLocation object representing that data set.
buildChromLocation(dataPkg)
dataPkg |
The name of the data package to be used |
The requested data set must be available in the user's
.libPaths()
, and the function will throw an error if this is
not the case.
If the data package is present, the necessary information will be
extracted from the data package and a chromLocation
object will
be created.
A chromLocation
object representing the specified data set.
Jeff Gentry
have_ann_pkg <- suppressWarnings(require("hgu95av2.db", quietly=TRUE)) if (!have_ann_pkg) have_ann_pkg <- suppressWarnings(require("hgu95av2", quietly=TRUE)) if (have_ann_pkg) { z <- buildChromLocation("hgu95av2") } else print("This example requires the hgu95av2.db or hgu95av2 package")