tiledbsoma.io.from_anndata

tiledbsoma.io.from_anndata(experiment_uri: str, anndata: ~anndata._core.anndata.AnnData, measurement_name: str, *, context: ~tiledbsoma.options._soma_tiledb_context.SOMATileDBContext | None = None, platform_config: ~typing.Dict[str, ~typing.Mapping[str, ~typing.Any]] | object | None = None, obs_id_name: str = 'obs_id', var_id_name: str = 'var_id', X_layer_name: str = 'data', raw_X_layer_name: str = 'data', ingest_mode: ~typing.Literal['write', 'schema_only', 'resume'] = 'write', use_relative_uri: bool | None = None, X_kind: ~typing.Type[~tiledbsoma._sparse_nd_array.SparseNDArray] | ~typing.Type[~tiledbsoma._dense_nd_array.DenseNDArray] = <class 'tiledbsoma._sparse_nd_array.SparseNDArray'>, registration_mapping: ~tiledbsoma.io._registration.ambient_label_mappings.ExperimentAmbientLabelMapping | None = None, uns_keys: ~typing.Sequence[str] | None = None, additional_metadata: ~typing.Dict[str, bytes | float | int | str] | None = None) str

Writes an AnnData object to an Experiment.

Usage is the same as from_h5ad except that you can use this function when the AnnData object is already loaded into memory.

Lifecycle

Maturing.