doc/fws.md

NAME

calculate_Fws

USAGE

calculate_Fws(snpdata)

DESCRIPTION

calculate_Fws is a function that calculates the within-host genetic diversity (Fws). Note that the Fws is obtained using the moimix R package

OPTIONS

snpdata: an object of class SNPdata

RETURN

a SNPdata object with 2 additional columns in the meta data frame:

     1.  Fws: the Fws across all samples
     2.  COI: the complexity of infection. 1 for Fws>0.95; 2 for Fws<=0.95


FellouMada/rSNPdata documentation built on June 12, 2022, 7:29 p.m.