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

https://github.com/ofgulban/compoda

Simplex space operations for compositional data implemented in Python.
https://github.com/ofgulban/compoda

barycentric-coordinates compositional-data compositional-data-analysis n-simplex simplex simplex-space simplices

Last synced: about 1 month ago
JSON representation

Simplex space operations for compositional data implemented in Python.

Awesome Lists containing this project

README

          

[![DOI](https://zenodo.org/badge/78312374.svg)](https://zenodo.org/badge/latestdoi/78312374) [![Build Status](https://travis-ci.org/ofgulban/compoda.svg?branch=master)](https://travis-ci.org/ofgulban/compoda) [![Build status](https://ci.appveyor.com/api/projects/status/plrtbnjvf09h38xn?svg=true)](https://ci.appveyor.com/project/ofgulban/compoda)
[![codecov](https://codecov.io/gh/ofgulban/compoda/branch/master/graph/badge.svg)](https://codecov.io/gh/ofgulban/compoda)

# Compoda

Compositional data analysis tools implemented in python.

Currently, this library is primarily being developed for (but not limited to) magnetic resonance images with multiple contrasts. For further details, please see my paper **[here](https://www.ajs.or.at/index.php/ajs/article/view/743)** (or [here](https://arxiv.org/abs/1705.03457)).

## Dependencies

**[Python 3](https://www.python.org/)**

| Package | Tested version |
|---------------------------------------------------------|----------------|
| [NumPy](http://www.numpy.org/) | 1.15.4 |
| [Scipy](https://www.scipy.org/) | 1.2.0 |

#### Additionally required for example scripts:

| Package | Tested version |
|---------------------------------------------------------|----------------|
| [matplotlib](http://matplotlib.org/) | 3.0.2 |
| [NiBabel](http://nipy.org/nibabel/) | 2.2.1 |

## Installation

Run this command in your command line:

```bash
pip install compoda
```

or as an alternative
- Clone this repository and change directory to:
```bash
cd /path/to/compoda
```
- Install the requirements by running the following command:
```bash
pip install -r requirements.txt
```
- Install compoda:
```bash
python setup.py install
```

## Support

Please use [GitHub issues](https://github.com/ofgulban/compoda/issues) for questions, bug reports or feature requests.

## License

The project is licensed under [BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause).

## References

* [Compositional data analysis in a nutshell.](http://www.sediment.uni-goettingen.de/staff/tolosana/extra/CoDaNutshell.pdf)

* Aitchison, J. (1982). The Statistical Analysis of Compositional Data. Journal of the Royal Statistical Society, 44(2), 139–177.

* Aitchison, J. (2002). A Concise Guide to Compositional Data Analysis. CDA Workshop Girona, 24, 73–81.

* Pawlowsky-Glahn, V., Egozcue, J. J., & Tolosana-Delgado, R. (2015). Modelling and Analysis of Compositional Data. Chichester, UK: John Wiley & Sons, Ltd.