grassp.ds.load_dataset#
- load_dataset(name, enrichment='enriched', **kwargs)[source]#
Download a curated dataset from the grassp data portal by name.
Datasets are hosted at
https://public.czbiohub.org/proteinxlocation: the processed/enriched objects live underdatasets/and the pre-enrichmentrawobjects (raw fractionation profiles, with replicates preserved where available) underdatasets_raw/.- Parameters:
- name
str Dataset identifier, without the
_rawsuffix or.h5adextension, e.g."Haas_2025_HumanizedLiver_Chow".- enrichment
Literal['enriched','raw'] (default:'enriched') "enriched"(default) downloads the processed object fromdatasets/;"raw"downloads the raw object fromdatasets_raw/.- **kwargs
Forwarded to
scanpy.read().
- name
- Return type:
- Returns:
AnnData The requested dataset.
Examples
>>> import grassp as gr >>> adata = gr.ds.load_dataset("Haas_2025_HumanizedLiver_Chow") # enriched >>> raw = gr.ds.load_dataset("Haas_2025_HumanizedLiver_Chow", enrichment="raw") # replicates