tiledbsoma.io.to_h5ad

tiledbsoma.io.to_h5ad(experiment: Experiment, h5ad_path: str | Path, measurement_name: str, *, X_layer_name: str | None = 'data', obs_id_name: str | None = None, var_id_name: str | None = None, obsm_varm_width_hints: dict[str, dict[str, int]] | None = None, uns_keys: Sequence[str] | None = None) None

Converts the experiment group to AnnData format and writes it to the specified .h5ad file.

Arguments are as in to_anndata.

Lifecycle

Maturing.