Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 521 Bytes

fws.md

File metadata and controls

23 lines (16 loc) · 521 Bytes

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