analyze_spatial_statistics
Analyze spatial statistics and autocorrelation patterns.
Instructions
Analyze spatial statistics and autocorrelation patterns.
Args:
data_id: Dataset ID
params: Analysis parameters (analysis_type, cluster_key, genes). See SpatialStatisticsParameters for all types.
gene_selection='all' computes moran/geary for every gene; the full per-gene
table (rank, statistic, p, FDR) is stored at results_key, only top genes are returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| data_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes | ||
| warnings | No | Non-fatal conditions that may affect result interpretation. | |
| results_key | No | ||
| top_features | No | ||
| analysis_type | Yes | ||
| n_significant | No | ||
| spatial_graph | No | ||
| summary_metrics | No | ||
| n_features_analyzed | No |