calculate_Fws: Calculate the complexity of infection in every sample (Fws)

View source: R/data_manip.R

calculate_FwsR Documentation

Calculate the complexity of infection in every sample (Fws)

Description

Fws is the within host genetic diversity

Usage

snpdata =  calculate_Fws(snpdata)

Arguments

snpdata

a SNPdata object

Value

a SNPdata object with an additional column in the meta table

  1. Fws: within host genetic diversity value

  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.