Skip to content
FunCoding

bioconductor-experimenthub

This package provides a client for the Bioconductor ExperimentHub web resource. ExperimentHub provides a central location where curated data from experiments, publications or training courses can be accessed. Each resource has associated me

Star
792
Category
Other
Last commit
Nov 21, 2026

skills/general/experimenthub/SKILL.md

View on GitHub

ExperimentHub

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 3.2.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Depends: BiocGenerics, AnnotationHub, BiocFileCache
  • Imports: S4Vectors, BiocManager, rappdirs
  • Install: BiocManager::install("ExperimentHub")

When to Use

  • Accessing Curated Datasets: Retrieving large files of curated data from experiments, publications, or training courses via the ExperimentHub web service.
  • Retrieving R Objects: Downloading specific R data objects like SummarizedExperiment, ExpressionSet, or GAlignmentPairs directly into your session.
  • Interactive Exploration: Interactively querying and exploring available resources using BiocHubsShiny.

When NOT to Use

  • For accessing reference genome annotations, use AnnotationHub because ExperimentHub is focused exclusively on experimental data.

Data Requirements

  • Requires an internet connection to download files initially, which are then cached locally.
  • Queries use string terms (e.g., "mus musculus" or "alpineData").

Key Parameters

  • localHub: Set to TRUE in ExperimentHub to use only the local cache and avoid internet queries.
  • ask: Set to FALSE in removeCache to bypass interactive prompts when deleting the cache.
  • appname: Used in rappdirs::user_cache_dir to specify the package name (e.g., "ExperimentHub").
  • which: Used in tools::R_user_dir to specify the directory type (e.g., "cache").

Best Practices

  • Use query to search for specific strings and filter the ExperimentHub object before downloading.
  • Check snapshotDate and use possibleDates to ensure reproducibility with older versions of a snapshot.
  • Manage the default caching location using tools::R_user_dir or by setting the EXPERIMENT_HUB_CACHE environment variable.

Common Pitfalls

  • Proxy Issues: Operating behind a proxy blocks downloads; fix by setting the EXPERIMENT_HUB_PROXY environment variable or using setExperimentHubOption.
  • Permission Errors: Sharing a cache across multiple users causes access failures; fix by changing the group permissions of BiocFileCache.sqlite and BiocFileCache.sqlite.LOCK to g+rw.
  • Lost Cache: Upgrading to newer versions changes the default cache location; fix by moving files to the new tools::R_user_dir location or setting EXPERIMENT_HUB_CACHE.

Alternatives

  • AnnotationHub: For retrieving annotation resources rather than experiment data.
  • BiocHubsShiny: For a graphical interface to perform the same queries interactively.

Citations

  • ExperimentHub Package Authors. ExperimentHub: Access the ExperimentHub Web Service. Bioconductor.

References


Run this on BioMate

This skill is the knowledge layer — when, why, and how to use experimenthub. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open experimenthub on BioMate →

Similar Skills

claude-handoff

MAmattpocock/skills337k4,978 new stars in the last 7 days

software-factory

MAmattpocock/skills337k4,978 new stars in the last 7 days

agent-payment-x402

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

agent-self-evaluation

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

bengali-nlp

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

ponytail-gain

DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days