Python tools for ecological data analyses
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
ecopy
.gitignore
MANIFEST.in
README.rst
setup.py

README.rst

EcoPy: Python for Ecological Data Analyses

EcoPy provides tools for ecological data analyses. In general, it focuses on multivariate data analysis, which can be useful in any field, but with particular attention to those methods widely used in ecology. The homepage, with full documentation and examples, can be found here

Install via 'pip install ecopy'

What's New

0.1.2

  • More Python 3.x compatibility
  • Fix typos in code and examples

License

EcoPy is distributed under the MIT license

Version

0.1.2

Examples

Transforming a site x species matrix, dividing by site totals:

import ecopy as ep
varespec = ep.load_data('varespec')
newMat = ep.transform(varespec, method='total', axis=1)

Calculating Bray-Curtis dissimilarities on the new matrix:

brayMat = ep.distance(newMat, method='bray')

PCA on US Arrests data:

USArrests = ep.load_data('USArrests')
prcomp = ep.pca(USArrests, scale = True)
prcomp.biplot(type = 'distance')
prcomp.biplot(type = 'correlation')

Full online documentation is a work in progress

TO-DO

  • MINIMUM SPANNING TREE
  • PROCRUSTES ROTATION
  • LINEAR/SURFACE ENVIRONMENTAL FITTING
  • MAXENT WRAPPER
  • MANY MANY OTHER THINGS