omicverse.datasets.pbmc3k

omicverse.datasets.pbmc3k(processed=False)[source]

Load PBMC 3k dataset from URL.

3k PBMCs from 10x Genomics. Downloads directly from public URLs, falls back to mock data generation if URLs are unavailable.

Parameters:

processed (bool) – If True, load processed PBMC3k file; otherwise load raw matrix.

Returns:

PBMC3k AnnData, with mock fallback if remote download fails.

Return type:

AnnData