Metadata-Version: 2.1
Name: hwetests
Version: 0.6.5
Summary: A python package containing two statistical tests for HWE testing: Gibbs Sampling test and a modified Chi Squared test that handles ambiguity
Home-page: https://github.com/ExtraFlash/HWE_tests_package
Author: Or Shkuri
Author-email: orshkuri2000@gmail.com
License: MIT
Platform: UNKNOWN
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: numpy >=1.22.4
Requires-Dist: pandas >=1.4.3
Requires-Dist: scipy >=1.7.3
Requires-Dist: matplotlib >=3.7.4
Requires-Dist: seaborn >=0.12.0

## Badges
![Static Badge](https://img.shields.io/badge/python-100%25-blue)


# hwetests



The Hardy-Weinberg Equilibrium (HWE) assumption is essential to many population genetics models, which assumes that allele pairs from a given population are random. An HWE test needs to test whether the pairing are random or not.

Our python package contains three statistical tests for HWE testing:
- **ASTA**
- **UMAT**
- **UMAT with sampling**

Both  **ASTA** and **UMAT with sampling** assume ambiguity in the allele pairing while **UMAT** does not assume ambiguity.

## Table of Contents

-  [Installation](#installation)

-  [Usage](#usage)

-  [Credits](#credits)

-  [License](#license)

## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install hwetests.
```bash
pip install hwetests
```

## Usage

Here we show how to use our package with simulated data.

### Create data

### ASTA
```python
from hwetests import asta

# returns 'words'
foobar.pluralize('word')

# returns 'geese'
foobar.pluralize('goose')

# returns 'phenomenon'
foobar.singularize('phenomena')
```

## Tests

Go the extra mile and write tests for your application. Then provide examples on how to run them here.

## Badges
![Static Badge](https://img.shields.io/badge/python-100%25-blue)


## License
asasda


