Learn R Programming

MADPop (version 1.1.7)

MHC Allele-Based Differencing Between Populations

Description

Tools for the analysis of population differences using the Major Histocompatibility Complex (MHC) genotypes of samples having a variable number of alleles (1-4) recorded for each individual. A hierarchical Dirichlet-Multinomial 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 p-values are provided for chi-squared and likelihood ratio tests of equal genotype probabilities.

Copy Link

Version

Install

install.packages('MADPop')

Monthly Downloads

196

Version

1.1.7

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Martin Lysy

Last Published

February 27th, 2024

Functions in MADPop (1.1.7)

UM.eqtest

Equality tests for two multinomial samples
chi2.stat

Chi-squared test statistic for contingency tables
LRT.stat

Likelihood ratio test statistic for contingency tables
fish215

Genotypes of lake trout from Ontario, Canada
hUM.post

Posterior sampling from a hierarchical Unconstrained-Multinomial model
UM.suff

Sufficient statistics for the Unconstrained-Multinomial model
colSort

Matrix Sort
MADPop-package

(M)HC (A)llele-Based (D)ifferencing between (Pop)ulations
geno.format

Format genotype matrix