getCOI | R Documentation |
Calculates complexity of infection for a list of samples, using the number of detected alleles.
getCOI(dsmp, lrank = 2)
dsmp |
a list with each element corresponding to one sample. |
lrank |
the rank of the locus that will determine a sample's COI (loci are ranked by the number of detected alleles). |
a vector with estimated COI for each sample.
coi <- getCOI(dsmp, lrank = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.