Description Usage Arguments Details Value Note Author(s) Examples

This function calculates the fixation index Fst for each SNP, together with its weight in the overall estimate (as used by the Internation HapMap Consortium).

1 |

`snps` |
an object of class |

`group` |
a factor (or object than can be coerced into a factor),
of length equal to the number of rows of |

`pairwise` |
if |

See vignette.

A list:

- Fst
Fst values for each SNP

- weight
The weights for combining these into a single index

Uncertain genotypes are treated as missing

David Clayton [email protected]

1 2 3 4 5 | ```
## Analysis of some HapMap data
data(for.exercise)
f <- Fst(snps.10, subject.support$stratum)
weighted.mean(f$Fst, f$weight)
``` |

snpStats documentation built on May 2, 2018, 4:18 a.m.

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.