Install any skill in seconds. Free to start, no credit card required.
Get Started Free →jaechang-hits/harmony-batch-correction
Harmony batch correction for scRNA-seq and other omics. Removes batch effects from PCA embeddings while preserving biology. Run after PCA, before UMAP. Scales to millions of cells. Python (harmonypy, scanpy) and R (Seurat).
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
1 fixed21 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
A test case the skill fixed. Same model, same prompt, with and without the skill.
In the Harmony algorithm, what specific mathematical property of the soft-clustering process does the `sigma` hyperparameter dictate?
| Checked | Without skill | With skill |
|---|---|---|
| Specify that sigma controls the bandwidth of the Gaussian kernel for soft cluster assignment. | Missed | Passed |
The instructions your model reads when the skill loads.
Harmony is a fast, scalable algorithm for batch integration in single-cell data. It takes a PCA embedding (cells × PCs) as input and returns a corrected embedding from which batch effects have been regressed out via iterative soft-clustering and per-cluster linear regression. The corrected embedding is then used to compute neighbors, UMAP, and downstream clustering — the raw count matrix is never modified. Harmony works for single-cell RNA-seq, ATAC-seq, and other omics modalities where a PCA-like embedding is available.
sc.pl.*harmonypy, scanpy>=1.10, leidenalg, igraph, anndata, pandas, matplotlibharmony, Seurat>=4.0 (for R workflow in Step 7)adata.obs, and PCA embedding already computed (adata.obsm["X_pca"])pip install harmonypy "scanpy[leiden]" anndata pandas matplotlib
# R installation (for Step 7 / Seurat integration)
install.packages("harmony")
# If using Seurat:
install.packages("Seurat")
Settle these with the user before writing any analysis code.
test cases passed, vs 21 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.