tiledbsoma.io.register_h5ads¶
- tiledbsoma.io.register_h5ads(experiment_uri: str | None, h5ad_file_names: Sequence[str] | str, *, measurement_name: str, obs_field_name: str, var_field_name: str, append_obsm_varm: bool = False, context: SOMATileDBContext | None = None, use_multiprocessing: bool = False) ExperimentAmbientLabelMapping¶
Extends registration data from the baseline, already-written SOMA experiment to include multiple H5AD input files. See
from_h5adandfrom_anndataon-line help.If enabled via the
use_multiprocessingparameter, this function will use multiprocessing to register each H5AD in parallel. In cases with many files, this can produce a performance benefit. Regardless ofuse_multiprocessing, H5ADs will be registered concurrently – you can control the concurrency using thesoma.compute_concurrency_levelconfiguration parameter in thecontextargument.