Tools for the analysis of population differences using the Major Histocompatibility Complex (MHC) genotypes of samples having a variable number of alleles (14) recorded for each individual. A hierarchical DirichletMultinomial model on the genotype counts is used to pool small samples from multiple populations for pairwise tests of equality. Bayesian inference is implemented via the 'rstan' package. Bootstrapped and posterior pvalues are provided for chisquared and likelihood ratio tests of equal genotype probabilities.
Package details 


Author  Martin Lysy [cre, aut], Peter W.J. Kim [aut], Terin Robinson [ctb] 
Maintainer  Martin Lysy <mlysy@uwaterloo.ca> 
License  GPL3 
Version  1.1.2 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.