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.

gabrielmoreira Updated 17 repo stars

File contents

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/aipoch@medical-research-skills/awesome-med-research-skills/Data Analysis/knn-imputation commit 445c43544c

Frequently asked questions

npx skillmds@latest add gabrielmoreira/knn-imputation