pyXenium.multimodal.import_stgpt_embeddings#

import_stgpt_embeddings(embeddings, *, target=None, entity='cell', id_column=None, obsm_key='stgpt', embedding_prefix='stgpt_')#

Read stGPT embeddings and optionally attach cell embeddings to AnnData.

The function intentionally treats stGPT output as an external artifact. It does not import stGPT or run any model code.

Parameters:
Return type:

dict[str, Any]