Coder Social home page Coder Social logo

ecopy's Introduction

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

I'm back! I apologize for letting EcoPy languish for a few years. I was busy as a post-doc trying to secure my faculty position. Now I've done that, I can get back to running EcoPy and expanding it. I can't promise I will be devoted to the project at all times, but I am now able to spend more time on it. My hope is to recruit help so that EcoPy expands rapidly in the future.

0.1.2.3

  • Fixed compatibility problems in functions cca(), simper(), and transform()
  • Added Ochiai's binary coefficient to distance() function
  • Added bioenv() function

0.1.2.2

  • More Python 3.x compatibility
  • Fix typos in code and examples on readthedocs. Thorough code check

License

EcoPy is distributed under the MIT license

Version

0.1.2.3

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

Incorporate DECORANA and TWINSPAN into EcoPy

  1. I have modified write_cep to handle integer row names (as is common in pandas dataframes)

  2. The pre-processing code all works for DECORANA

  3. Need to get decorana fortran function working on UNIX systems (.exe binary only works for Windows)

    • This is going to be difficult because converting the decorana function to Python pulls in the numerical subroutines. There is, as yet, no way to simply pass the data file to a terminal command like used in CornPy. I would have to rewrite DECORANA, calling the Fortran subroutines. This is what 'vegan' does.
  4. Need to get TWINSPAN functional

Procrusted Rotation

Linear/surface environmental fitting

MaxEnt Wrapper

Clustering

ecopy's People

Contributors

auerilas avatar maurobio avatar mjmolina avatar grovduck avatar tkchafin avatar amnicolas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.