Skip to content

Tajima's D

经典的中性检验统计量,通过比较核苷酸多样性与分离位点数来检测群体是否 偏离中性进化假设。负值提示正选择或群体扩张,正值提示平衡选择或群体收缩。

PropertyValue
Purpose检测群体是否偏离中性进化
Time ComplexityO(n * L)
Space ComplexityO(L)
Year1989
DifficultyBeginner
LanguagesR, Python
CategoryPopulation 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

VCFtools · popgenome · scikit-allel

Tags

neutrality-test selection classic population-genetics

Released under the MIT License.