Recommended order
PCA → (Harmony) → Neighbors → UMAP → Clustering → DEG Analysis. After Harmony, set use_rep='X_pca_harmony' in Neighbors. Scale saves adata.raw automatically, which is what DEG Analysis reads for accurate pct values.
K-Means (method='kmeans', n_clusters) partitions the same PCA / Harmony embedding; it does not use resolution, and the generated Methods text omits it accordingly.
Common pitfalls
Harmony writes X_pca_harmony, not X_pca. Unless Neighbors is told to use it, UMAP and clustering run on the uncorrected PCA.
UMAP without Neighbors. UMAP needs the kNN graph; the required order is PCA → Neighbors → UMAP. The node’s panel warns when the graph is missing upstream.
DEG pct values all 1.0. Run Scale before DEG Analysis so adata.raw (pre-scale, log-normalised) exists for pct_nz_group / pct_nz_reference.
DEG needs at least two populated groups. A single-group column stops with a clear message instead of a division-by-zero error.
UMAP distance is not biological distance. Only local neighbourhood structure is preserved; use PAGA for trajectory topology.