Skip to contents

Locate source h5ad file for a dataset.

Usage

get_source_h5ad_uri(dataset_id, census_version = "stable", census = NULL)

Arguments

dataset_id

The dataset_id of interest.

census_version

The desired Census version.

census

An open Census handle for census_version. If not provided, then it will be opened and closed automatically; but it's more efficient to reuse a handle if calling get_source_h5ad_uri() multiple times.

Value

A list with uri and optional s3_region.

Examples

get_source_h5ad_uri("0895c838-e550-48a3-a777-dbcd35d30272")
#> $uri
#> [1] "s3://cellxgene-census-public-us-west-2/cell-census/2023-12-15/h5ads/0895c838-e550-48a3-a777-dbcd35d30272.h5ad"
#> 
#> $s3_region
#> [1] "us-west-2"
#>