Description Usage Arguments Details Value Author(s) References Examples
This function calculates genetic diversity profile (q=0, 1, 2).
1 |
x |
Input data, genepop format. |
q |
Hill numbers, q=0,1,2. |
ncode |
The coding type of the genetic file. |
This function returns different genetic diversities, q is the order of Hill number, specifically, richness (q=0), exponential Shannon entropy (q=1), and heterozygosity related measure (q=2, ^2D=1/(1-He)).
Result returns to the diversity profile (q) as you defined.
qinxinghu@gmail.com
Marcon, E., & Herault, B. (2015). entropart: An R package to measure and partition diversity. Journal of Statistical Software, 67(8).
Gaggiotti, O. E., Chao, A., Peres-Neto, P., Chiu, C. H., Edwards, C., Fortin, M. J., ... & Selkoe, K. A. (2018). Diversity from genes to ecosystems: A unifying framework to study variation across biological metrics and scales. Evolutionary Applications.
1 2 3 4 | # example genepop file
f <- system.file('extdata',package='HierDpart')
infile <- file.path(f, "Island.gen")
qD(infile,q=0,ncode=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.