-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Currently, domains are annotated as e.g. D1015, and we have to manually provide a name afterwards.
Instead, we could:
- extract some information from the domains
- create a prompt
- send it to a LLM (need an API key)
- format the output to create a
dict[str, str]mapping, e.g.{"D1015": "Tertiary Lymphoid Structure", ...}
Ideas of the information to add to the prompt:
- DEGs between domains
- percentage of cell-types within each domain (if
cell_type_keyexists). - tissue name (provided by the user?)
- other ideas?
Function signature:
def llm_domains_name_mapping(
adata: AnnData,
obs_key: str,
cell_type_key: str | None = None,
tissue_name: str | None = None,
) -> dict[str, str]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels