Coder Social home page Coder Social logo

Comments (6)

Kzra avatar Kzra commented on July 19, 2024 1

Hi @XuanhaoYang, If you just ran pip install statannotations then you won't have the dev branch version of the package.

Try uninstalling your version of the package with pip uninstall statannotations and then reinstalling the latest version of the package from the dev branch. If you have git installed than you can run pip install git+https://github.com/trevismd/statannotations.git@dev to do this.

With the dev branch version, you will be able to hide non significant p values. You will need to restart the Python kernel to see this change take effect. Hope this helps.

from statannotations.

trevismd avatar trevismd commented on July 19, 2024

Hello! Please see #110.

from statannotations.

XuanhaoYang avatar XuanhaoYang commented on July 19, 2024

Hello! Please see #110.

annotator =  Annotator(ax,pairs, data=df, x="gene",y="expression",hue="type",hide_non_significant=True)
annotator.configure(test='Mann-Whitney', text_format='star',line_width=0)
annotator.apply_and_annotate()

Did I make it right? I used hide_non_significant=True but still got "ns".

from statannotations.

trevismd avatar trevismd commented on July 19, 2024

This is correct. If you did install the package from the tip of the dev branch (commit 9b7f581), could you please provide a minimal but complete reproducible example of the code leading to the unexpected result?

from statannotations.

XuanhaoYang avatar XuanhaoYang commented on July 19, 2024

This is correct. If you did install the package from the tip of the dev branch (commit 9b7f581), could you please provide a minimal but complete reproducible example of the code leading to the unexpected result?

Sorry, I just use the command pip install statannotations to install the package. I don't know what do you mean by install the package from the tip of the dev branch (commit 9b7f581). How can I install the dev branch? Thanks.

from statannotations.

trevismd avatar trevismd commented on July 19, 2024

For posterity, use .configure(hide_non_significant=True) from v.0.6.0.

from statannotations.

Related Issues (20)

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.