cellxgene_census.experimental.get_embedding_metadata

cellxgene_census.experimental.get_embedding_metadata(embedding_uri: str, context: SOMATileDBContext | None = None) dict[str, Any]

Read embedding metadata and return as a Python dict.

Parameters:
  • embedding_uri – The embedding URI.

  • context – A custom tiledbsoma.SOMATileDBContext which will be used to open the SOMA object. Optional, defaults to None.

Returns:

A Python dictionary containing metadata describing the embedding.

Examples

>>> get_experiment_metadata(uri)