compositional data analysis
Project description
Python module for compositional data analysis. Install with pip:
pip install composition_stats
The following functions are provided:
closure |
Performs closure to ensure that all elements add up to 1. |
multiplicative_replacement |
Replace all zeros with small non-zero alues |
perturb |
Performs the perturbation operation. |
perturb_inv |
Performs the inverse perturbation operation. |
power |
Performs the power operation. |
inner |
Calculates the Aitchson inner product. |
clr |
Performs centre log ratio transformation. |
clr_inv |
Performs inverse centre log ratio transformation. |
ilr |
Performs isometric log ratio transformation. |
ilr_inv |
Performs inverse isometric log ratio transform. |
alr |
Performs additive log ratio transformation. |
alr_inv |
Performs inverse additive log ratio transform. |
centralize |
Center data around its geometric average. |
sbp_basis |
Builds an orthogonal basis from a sequential binary partition (SBP). |
Please see the documentation for details and a complete function reference.
This is a straightforward fork of the essential compositional data functions of the skbio.stats.composition module from scikit-bio.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for composition_stats-1.0.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a07b088cd582513d7f2a6c7cad6942f5255ee8d27b4ca6eaac6121720d9213c |
|
MD5 | a58a92cf9dc872696beb84d46f023d37 |
|
BLAKE2b-256 | b65ce5901ae4540beca34c075511828003706463891f660a6234a8d77d9c6c39 |