pairwise.betas | R Documentation |
Estimates pairwise betas according to Weir and Goudet (2017)
pairwise.betas(dat,diploid=TRUE)
dat |
A data frame containing population of origin as the first column and multi-locus genotypes in following columns |
diploid |
whether the data is from a diploid (default) or haploid organism |
a matrix of pairwise betas
Jerome Goudet jerome.goudet@unil.ch
Weir, BS and Goudet J. 2017 A Unified Characterization of Population Structure and Relatedness. Genetics (2017) 206:2085
data(gtrunchier) pairwise.betas(gtrunchier[,-2],diploid=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.