annotate_cell_types
Annotate cell types in spatial transcriptomics data using reference-based or marker-based methods.
Instructions
Annotate cell types in spatial transcriptomics data.
Args:
data_id: Dataset ID
params: Annotation parameters (method, reference_data_id, cell_type_key, etc.)
Note: Reference methods (tangram, scanvi) require reference_data_id to be preprocessed first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| data_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | Yes | ||
| method | Yes | ||
| data_id | Yes | ||
| cell_types | Yes | ||
| output_key | Yes | ||
| confidence_key | No | ||
| confidence_scores | No | ||
| tangram_mapping_score | No |