GithubHelp home page GithubHelp logo

gibsramen / evident_ Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 1.42 MB

Effect size calculations for microbiome data

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.63% Python 98.02% TeX 0.53% CSS 0.70% HTML 0.13%
microbiome qiime2 python visualization data-visualization statistics

evident_'s People

Contributors

gibsramen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dhakim87

evident_'s Issues

Add support for providing sample size ratios

At the moment, power analysis calculations assume that the same number of samples will be used in each group. Could be useful to allow the user to pass a list of proportions corresponding to the ratio of each group to the whole.

Can't pass in np.array to power_analysis

Seems like this line fails when you pass in a np.array

https://github.com/gibsramen/evident/blob/f1a0fd65100e09f46c3e20c1e343d32f6e3e5943/evident/diversity_handler.py#L119

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Input In [180], in <module>
----> 1 [[1, 2, 3], np.linspace(10, 30, 5), None].count(None)

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Add interactive visualization for power analysis

Idea courtesy of @cameronmartino

Something where you can maybe slide different values of alpha, total observations, etc. and see how the power changes. I think something Plotly or Bokeh might be able to do this but I want to write as little JavaScript as possible.

metadata.qza

Hello,

Sorry for the novice question. I noticed that I need to input metadata.qza when running commands such as "qiime evident univariate-power-analysis ".

I have only ever used metadata as a csv file. How should I convert it to qza format?

Thank you.

Consolidate EffectSizeResult & PairwiseEffectSizeResult

I don't think these need to be separate. Or at least we should also include the group level comparisons in EffectSizeResult. This would also benefit from being able to assign sign to effect sizes which currently is not supported.

Parallelization

We could probably parallelize certain parts of the effect size/power calculations.

Add optional logger

Would be useful for, as an example, running effect size calculations on multiple columns for debugging purposes.

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.