requireAnnotation {oligoClasses} | R Documentation |
This function checkes the existence of a given package and loads it if available. If the package is not available, the function checks its availability on BioConductor, downloads it and installs it.
requireAnnotation(pkgname, lib=.libPaths()[1], verbose = TRUE)
pkgname |
character. Package name (usually an annotation package). |
lib |
character. Path where to install packages at. |
verbose |
logical. Verbosity flag. |
Logical: TRUE if package is available or FALSE if package unavailable for download.
Benilton Carvalho
install.packages
## Not run: requirePackage("pd.mapping50k.xba240") ## End(Not run)