Description Usage Arguments Value Author(s) Examples
Calculates different measures of diveristy in a gbs object.
1 2 | gbs.diversity(hap, popGroups = NULL, maf.thresh = 0.05, graph = F,
het = "H", missing = "N")
|
hap |
The gbs object to manipulate. |
popGroups |
A data frame with two columns, where first column contain the names of individuals and second column contain the corresponding group (numeric) of population to which each individual belongs to. |
graph |
A logical option to graph the percent polymorphism. |
het |
The symbol(s) used for heterozygous calls. |
missing |
The symbol(s) used for missing calls. |
A list containing the Nei's genetic diversity and FST of the individuals
Narinder Singh, nss470@ksu.edu
Trevor Rife, trife@ksu.edu
1 2 | data(wheat)
gbs.diversity(hap,graph=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.