Giter Site home page Giter Site logo

glimix-core's Introduction

limix

Travis AppVeyor Documentation Forum

Genomic analyses require flexible models that can be adapted to the needs of the user.

Limix is a flexible and efficient linear mixed model library with interfaces to Python. It includes methods for

  • Single-variant association and interaction testing
  • Variance decompostion analysis with linear mixed models
  • Association and interaction set tests
  • Different utils for statistical analysis, basic i/o, and plotting.

We have an extensive documentation of the library. If you need further help or want to discuss anything related to limix, please, join our forum ๐Ÿ’ฌ and have a chat with us ๐Ÿ˜ƒ. In case you have found a bug, please, report it creating an issue.

Install

NOTE: We will be maintaining limix 2.0.x for a while, in case you find some missing feature in limix 3.0.x. If that is the case, please, type pip install "limix <3,>=2" in your terminal.

Installation is easy and works on macOS, Linux, and Windows:

pip install limix

If you already have Limix but want to upgrade it to the latest version:

pip install limix --upgrade

Interactive tutorials

Running tests

After installation, you can test it

python -c "import limix; limix.test()"

as long as you have pytest.

Authors

License

This project is licensed under the Apache License License.

glimix-core's People

Contributors

davipatti avatar horta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

glimix-core's Issues

Memory leak due to bound callback

Hi,
LMM passes a bound method as a callback to an optimix Scalar / ndarray-listener. I believe this leads to a memory leak as instantiations of LMM will not be removed by the GC unless _logistic is de-referenced as well.

logistic.listen(self._delta_update)

A solution could be a wrapper class implementing weak references as described here:
https://www.oreilly.com/library/view/python-cookbook/0596001673/ch05s15.html

Best,
Tobias

ImportError: cannot import name 'FunctionReduce'

Hi

I am trying to use the package, I have installed using conda and get the following error:

from optimix import FunctionReduce ImportError: cannot import name 'FunctionReduce

Although I understand how EP works I am still struggling in the implementation. Would you have a simple example using Logistic or Poisson regression with Gaussian priors please?

Memory leak due to the use of functools lru_cache with class methods

Hi,
class method _logdetXX of LMM is cached using functools lru_cache. Calling .fit() or .lml(), which both rely on _logdetXX will prevent the LMM instance to be accessible to garbage collection until the cache is cleared (and listeners are removed, see issue #14).

See also
https://stackoverflow.com/questions/33672412/python-functools-lru-cache-with-class-methods-release-object

Best,
Tobias

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.