Tajima's D
经典的中性检验统计量,通过比较核苷酸多样性与分离位点数来检测群体是否 偏离中性进化假设。负值提示正选择或群体扩张,正值提示平衡选择或群体收缩。
| Property | Value |
|---|---|
| Purpose | 检测群体是否偏离中性进化 |
| Time Complexity | O(n * L) |
| Space Complexity | O(L) |
| Year | 1989 |
| Difficulty | Beginner |
| Languages | R, Python |
| Category | Population Genetics |
Complexity Analysis
- Time Complexity:
O(n * L) - Space Complexity:
O(L)
Performance Insight: The time complexity of this algorithm is polynomial.
Note: Complexity analysis is based on theoretical models. Actual runtime is affected by input scale, hardware, and implementation optimizations. Benchmark for your specific workload.
Literature & Implementation
Related Tools
VCFtools · popgenome · scikit-allel