Utilities for Manipulating Allele Frequency Spectra

aggregate_sfs | Aggreage an n-dimensional SFS into a single dimension |

coarsen_sfs | Summarize SFS into 5 bins on each axis |

diversity_stats | Calculate Watterson's estimator of theta |

fixpoly | Count fixed versus polymorphic sites in each of K spectra |

flatten_sfs | Convert SFS to vector representation for saving in a file |

f_st | Calculate F_st (genetic differentiation among populations) |

hka_test | Perform the HKA test. |

marginalize_sfs | Get an SFS with reduced dimensions |

mask_corners | Zero out frequency classes of fixed for ancestral or derived... |

neutrality_tests | Calculate Tajima's D |

noboots | Discard bootstrap replicates from an SFS |

read_sfs | Read 'flattened' site frequency spectrum (SFS) from a file |

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.