Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mlysy/madpop

MHC Allele-Based Differencing between Populations
https://github.com/mlysy/madpop

Last synced: 3 months ago
JSON representation

MHC Allele-Based Differencing between Populations

Awesome Lists containing this project

README

        

# MADPop: MHC Allele-Based Differencing Between Populations

*Martin Lysy, Peter W.J. Kim, Terin Robinson*


[![R-CMD-check](https://github.com/mlysy/MADPop/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/mlysy/MADPop/actions/workflows/R-CMD-check.yaml)

---

### 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**](https://mc-stan.org/rstan/) package. Bootstrapped and posterior
p-values are provided for chi-squared and likelihood ratio tests of
equal genotype probabilities.

### Installation

To install the latest R release:
```r
install.packages("MADPop")
```

To install the latest development version, first install the R package [**devtools**](https://CRAN.R-project.org/package=devtools) then run
```r
devtools::install_github("mlysy/MADPop")
```

### Usage

Please see tutorial [here](https://CRAN.R-project.org/package=MADPop/vignettes/MADPop-quicktut.html) or by running `vignette("MADPop-quicktut")`.