ld_pruning
Remove highly correlated SNPs by pruning based on linkage disequilibrium. Filters variants exceeding a specified r² threshold within a sliding window to yield an independent set.
Instructions
Prune SNPs based on linkage disequilibrium (LD). Removes variants in high LD to create an independent set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plink_prefix | Yes | Path prefix for PLINK files | |
| r2_threshold | No | r² threshold for LD pruning (default: 0.2) | |
| window_size | No | Window size in kb for LD calculation (default: 500) | |
| step_size | No | Step size in variants (default: 50) |