| utilities {ExperimentHub} | R Documentation |
List and load resources from ExperimentHub filtered by package name and optional search terms.
listResources(hub, package, filterBy = character()) loadResources(hub, package, filterBy = character())
hub |
A |
package |
A |
filterBy |
A |
Currently listResources and loadResources are only meaningful
for ExperimentHub objects.
listResources returns a character vector;
loadResources returns a list of data objects.
## Not run: ## Packages with resources hosted in ExperimentHub: require(ExperimentHub) eh <- ExperimentHub() unique(package(eh)) ## All resources associated with the 'GSE62944' package: listResources(eh, "GSE62944") ## Resources associated with the 'curatedMetagenomicData' package ## filtered by 'plaque.abundance': listResources(eh, "curatedMetagenomicData", "plaque.abundance") ## 'loadResources()' returns a list of the data objects: loadResources(eh, "curatedMetagenomicData", "plaque.abundance") ## End(Not run)