Description Usage Arguments Details Note References See Also
View source: R/seqarray_process_popgen.R
Compute Fws within-host diversity statistic
1 | getFws(gdsfile)
|
gdsfile |
a |
Compute the within host diversity statistic according to the method devised in Manske et.al, 2012. Briefly, within sample heterozygosity and within population heterozygosity are computed and assigned to ten equal sized MAF bins [0.0.05]...[0.45,0.5]. For each bin the mean within sample and population heterozygosity is computed. A regression line of these values through the orgin is computed for each sample. The Fws is then 1 - β.
Currently only works on GATK derived gdsfiles. Needs to be updated to define populations.
Manske, Magnus, et al. "Analysis of Plasmodium falciparum diversity in natural infections by deep sequencing." Nature 487.7407 (2012): 375-379.
getHeterozygosity
, getHeterozygosityBySample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.