aipoch/medical-research-skills/knn-imputation
Use when filtering genes with high missingness and then imputing missing values in a bulk expression matrix with group-aware KNN through DMwR2, where donor samples are restricted by one annotation column before imputation. For strata with 10 or fewer samples, the script falls back to row-wise direct filling with mean or median. NOT for: single-cell data, multi-column stratification, non-tabular inputs, network access, or interactive workflows.
Agent skill · version 0.0.0-main.1794516504.g686e09d · from aipoch/medical-research-skills
Install
npx yarkr-cli add skill:aipoch/medical-research-skills/knn-imputationWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:aipoch/medical-research-skills/knn-imputation
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:aipoch/medical-research-skills/knn-imputationOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:aipoch/medical-research-skills/knn-imputationWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.