coarsen_sfs: Summarize SFS into 5 bins on each axis

Description Usage Arguments Details Value References

Description

Summarize SFS into 5 bins on each axis

Usage

1

Arguments

sfs

an SFS

...

ignored

Details

The "coarse-grained" SFS produced by this function is useful as a lower-dimensinoal summary statistic in ABC procedures.

Value

an SFS of reduced dimension, which summarizes the full SFS into bins corresponding to singletons, doubletons, all other polymorhisms (of higher sample frequency) and fixed differences.

References

Tellier A, et al. (2011) Estimating parameters of speciation models based on refined summaries of the joint site-frequency spectrum. PLoS One 6: e18155.


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