Description Usage Arguments Value Author(s) References Examples
Loci are randomly devided into two equal groups and the correlation coefficient between the resulting sMLH values is calculated.
1 | HHC(genotypes, reps = 100, CI = 0.95)
|
genotypes |
|
reps |
number of repetitions, i.e. splittings of the dataset |
CI |
size of the confidence interval around the mean het-het correlation (default is 0.95) |
call |
function call. |
HHC_vals |
vector of HHC's obtained by randomly splitting the dataset |
summary_exp_r2 |
r2 mean and sd for each number of subsetted loci |
nobs |
number of observations |
nloc |
number of markers |
Martin A. Stoffel (martin.adam.stoffel@gmail.com)
Balloux, F., Amos, W., & Coulson, T. (2004). Does heterozygosity estimate inbreeding in real populations?. Molecular Ecology, 13(10), 3021-3031.
1 2 3 | data(mouse_msats)
genotypes <- convert_raw(mouse_msats)
(out <- HHC(genotypes, reps = 100, CI = 0.95))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.