Hos | R Documentation |
Estimate observed heterozygosity corrected for sample size after Nei
Returns the general observed heterozygosity parameter from the frequencies
Hos(x, stratum = "Population")
x |
An object of type |
stratum |
A flag indicating that you want to estimate Nei's unbiased Ho across sampling locations. |
The expected heterozygosity
This function can be called on a single vector of data, a data.frame
of loci,
or a data.frame
of locus
objects across strata. If the estimating across
stratum, the unbiased estimator should be used to average across stratum and is performed
by passing the appropriate stratum= argument.
Rodney J. Dyer rjdyer@vcu.edu
data(arapat)
Hos(arapat)
loci <- c( locus( c("A","A") ), locus( c("A","A") ), locus( c("A","B") ) )
Hos( loci )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.