pic_calc | R Documentation |
This function is a simple wrapper of the PIC function from polysat package. It allows to quickly calculate Polymorphic Information Content or PIC from a genind object. Check PIC help page under polysat package for references.
pic_calc(obj, ploidy = 2, bypop = FALSE)
obj |
a codominant genind object |
ploidy |
Integer. The ploidy of the data. |
bypop |
Boolean, indicating whether to calculate PIC for each population and overall or only overall. |
a data.frame with PIC values (per locus & mean) for each population and overall
Nikolaos Tourvas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.