Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 916 Bytes

readme_pypi.rst

File metadata and controls

24 lines (15 loc) · 916 Bytes

ABC analysis

Performs and visualizes an ABC analysis with automated limit detection.

This package is a Python implementation of the R package ABCanalysis.

The package is based on "Computed ABC Analysis for rational Selection of most informative Variables in multivariate Data", PLoS One. Ultsch. A., Lotsch J. (2015) doi:10.1371/journal.pone.0129767.

Basic Usage

from abc_analysis import abc_analysis, abc_plot

# Perform an ABC analysis on a numeric vector (without plotting)
dctAnalysis = abc_analysis([1, 15, 25, 17, 2, 3, 5, 6, 2, 3, 22])

# Perform an ABC analysis with plotting
dctAnalysis = abc_analysis([1, 15, 25, 17, 2, 3, 5, 6, 2, 3, 22], True)

# Plot saved results of an ABC analysis
abc_plot(dctAnalysis)