cellink.resources.get_eqtl_catalog_dataset_associations#
- cellink.resources.get_eqtl_catalog_dataset_associations(dataset_id, data_home=None, refresh=False, return_path=False, **params)#
Retrieve associations for a specific eQTL catalog dataset and cache locally.
- Parameters:
dataset_id (str) – eQTL catalog dataset ID (e.g., “QTD000319”).
data_home (str or Path, optional) – Directory to store cached files. Defaults to user data directory.
refresh (bool, default=False) – If True, ignore cached data and fetch fresh data.
return_path (bool, default=False) – If True, return the local cached file path instead of reading it into a DataFrame.
**params (
Any) – Additional query parameters to pass to the API.
- Return type:
DataFrame|Path- Returns:
pd.DataFrame or Path DataFrame of eQTL associations, or Path to the cached parquet file if
return_path=True.