PolyDiv | R Documentation |
This functions computes Fst at the gene level, between two sets of metagenomic samples. It compares the average allele frequencies across samples for each polymorphic site, and then outputs the median Fst value. The inputs are:
data: the polymorphism data created by MetaPoly's "GetGenesData" function
samp_vec: a vector that assigns each sample (vector values) to each population (vector names). The method handles two populations encoded as 0 and 1's
PolyDiv(data, samp_vec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.