Skip to content
forked from Auerilas/ecopy

Python tools for ecological data analyses

Notifications You must be signed in to change notification settings

RMORSEcode/ecopy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

What's New

0.0.5

  • poca class for princple coordinate analysis
  • MDS class for multidimensional scaling (uses isotonic regression from scikit-learn)
  • small changes and fixes to previous functions

License

EcoPy is distributed under the GNU GPL

Version

0.0.4 - Under development

Examples

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

import pandas.rpy.common as com
import ecopy as ep
varespec = com.load_data('varespec', 'vegan')
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 = com.load_data('USArrests')
prcomp = ep.pca(USArrests, scaled = True)
prcomp.summary()
prcomp.biplot(scale = 0)
prcomp.biplot(scale = 1, obsNames = True)

Full online documentation is a work in progress

TO-DO

  • PCoA (MDS)
  • RDA
  • CCA (INCL. DETRENDED)
  • nMDS
  • ANOSIM
  • SIMPER
  • MINIMUM SPANNING TREE (PRIMM's)
  • PROCRUSTES ROTATION
  • LINEAR/SURFACE ENVIRONMENTAL FITTING
  • SPECIES POOLS (ACCUMULATION CURVES)
  • MAXENT WRAPPER
  • MANY MANY THINGS

About

Python tools for ecological data analyses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.6%
  • JavaScript 32.6%
  • CSS 9.8%
  • Makefile 4.0%
  • Shell 4.0%