repolarize_sfs: Reverse the polarity (ancestral vs derived) of an SFS.

Description Usage Arguments Details

Description

Reverse the polarity (ancestral vs derived) of an SFS.

Usage

1

Arguments

sfs

an SFS

...

ignored

Details

It appears that recent versions of the ANGSD software get the polarity of the SFS backwards, at least in their output. The distinction is not important for simple measures of diversity, but for tests based on polymorphism vs divergence (McDonald-Kreitman, Hudson-Kreitman-Aguade) it matters.


andrewparkermorgan/sfsr documentation built on May 10, 2019, 11:10 a.m.