preprocess_data
Preprocess spatial transcriptomics data with quality control, normalization, HVG selection, PCA, clustering, and spatial neighbor construction. Parameter defaults allow quick start.
Instructions
Preprocess spatial transcriptomics data (QC, normalization, HVGs, PCA, clustering, spatial neighbors).
Args:
data_id: Dataset ID
params: Preprocessing parameters (all have sensible defaults)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| data_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n_hvgs | Yes | ||
| data_id | Yes | ||
| n_cells | Yes | ||
| n_genes | Yes | ||
| clusters | Yes | ||
| qc_metrics | No |