changedInput schema / $defs / SpatialDomainParameters / properties / cluster_n_neighbors / anyOf
Previous value: -[
- {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "maximum": 200,
+ "minimum": 2,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+]
changedInput schema / $defs / SpatialDomainParameters / properties / cluster_n_neighbors / description
Previous value: -"Neighbors for clustering (leiden/louvain)."New value: +"k of the expression k-NN graph (leiden/louvain only). None reuses an existing neighbour graph (e.g. from compute_embeddings) or builds one with k=15; a value rebuilds the graph unless the stored one already has this k."
changedInput schema / $defs / SpatialDomainParameters / properties / cluster_spatial_weight / description
Previous value: -"Spatial information weight (leiden/louvain)."New value: +"Weight of the spatial graph when combined with the expression graph (leiden/louvain only). None uses 0.3."
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_clustering_method / description
Added value: +"Clustering of GraphST embeddings (graphst only). 'mclust' fits a Gaussian mixture with the cluster count; 'leiden'/'louvain' search the resolution that yields the cluster count. 'louvain' requires the louvain package."
changedInput schema / $defs / SpatialDomainParameters / properties / graphst_n_clusters / anyOf
Previous value: -[
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 50,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_n_clusters / description
Added value: +"Cluster count for GraphST (graphst only). None uses n_domains."
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_radius / description
Added value: +"Number of nearest spots in GraphST's refinement vote; a count, not a distance, so it does not depend on coordinate units. Used only when graphst_refinement=True (graphst only)."
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_radius / maximum
Added value: +500
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_radius / minimum
Added value: +1
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_random_seed / description
Added value: +"Seed for GraphST training and clustering (graphst only); identical calls give identical domains."
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_random_seed / minimum
Added value: +0
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_refinement / description
Added value: +"Apply GraphST's own label refinement (majority vote over the graphst_radius nearest spots) after clustering (graphst only)."
addedInput schema / $defs / SpatialDomainParameters / properties / graphst_use_gpu / description
Added value: +"Use CUDA/MPS when available, else CPU (graphst only)."
changedInput schema / $defs / SpatialDomainParameters / properties / n_domains / description
Previous value: -"Number of spatial domains to identify."New value: +"Number of spatial domains to identify. Used by spagcn, stagate, graphst (unless graphst_n_clusters is set) and aestetik with kmeans/bgm. Ignored by leiden, louvain and banksy, which are controlled by a resolution."
addedInput schema / $defs / SpatialDomainParameters / properties / refine_domains / description
Added value: +"Post-process the labels of any method by relabelling a spot to the majority label of its 10 nearest spots when the share of differing neighbours reaches refinement_threshold. Stored as an extra '<domain_key>_refined' column."
changedInput schema / $defs / SpatialDomainParameters / properties / refinement_threshold / description
Previous value: -"Neighbor agreement threshold for domain refinement."New value: +"Share of the 10 nearest spots that must carry a different label before refine_domains relabels a spot. Used only when refine_domains=True."
addedInput schema / $defs / SpatialDomainParameters / properties / resolution / description
Added value: +"Clustering resolution (higher = more domains). Used by leiden, louvain and aestetik with leiden/louvain. Not used by graphst, which searches the resolution that yields n_domains, or by banksy (see banksy_cluster_resolution)."
addedInput schema / $defs / SpatialDomainParameters / properties / resolution / exclusiveMinimum
Added value: +0
addedInput schema / $defs / SpatialDomainParameters / properties / resolution / maximum
Added value: +5
addedInput schema / $defs / SpatialDomainParameters / properties / spagcn_compat
Added value: +{
+ "default": "spagcn-1.2.7",
+ "description": "SpaGCN model behavior. 'spagcn-1.2.7' reproduces the published SpaGCN 1.2.7 results (fixed cluster centers, Louvain initialization). 'modern' trains the cluster centers with the DEC Student's t kernel; the default hyperparameters were tuned for 1.2.7 and give different domains.",
+ "enum": [
+ "spagcn-1.2.7",
+ "modern"
+ ],
+ "title": "Spagcn Compat",
+ "type": "string"
+}
changedInput schema / $defs / SpatialDomainParameters / properties / stagate_rad_cutoff / anyOf
Previous value: -[
- {
- "type": "number"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / $defs / SpatialDomainParameters / properties / stagate_rad_cutoff / description
Added value: +"Radius of the STAGATE spatial graph, as a distance in the units of obsm['spatial'] (stagate only). None derives it from the spot spacing (3**0.25 x the median distance to the 6th nearest spot), which links about 6 neighbours per Visium spot as in STAGATE's Visium analyses, in array, pixel or micron coordinates alike."
changedInput schema / $defs / SpatialDomainParameters / properties / stagate_random_seed / anyOf
Previous value: -[
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / $defs / SpatialDomainParameters / properties / stagate_random_seed / description
Added value: +"Seed for STAGATE training and its GMM clustering (stagate only). None uses 42."
addedInput schema / $defs / SpatialDomainParameters / properties / stagate_use_gpu / description
Added value: +"Use CUDA/MPS when available, else CPU (stagate only)."
changedInput schema / $defs / SpatialDomainParameters / properties / timeout / anyOf
Previous value: -[
- {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 86400,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+]
changedInput schema / $defs / SpatialDomainParameters / properties / timeout / description
Previous value: -"Maximum backend runtime in seconds. None uses 600 seconds."New value: +"Maximum backend runtime in seconds (all methods except leiden/louvain, which run in-process). None uses 3600 seconds for stagate and graphst (neural network training) and 600 seconds otherwise."
addedInput schema / $defs / SpatialDomainParameters / properties / use_highly_variable / description
Added value: +"Restrict the input to adata.var['highly_variable'] genes when that column exists (all methods)."