Comments (6)
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.
Hello! Please see #110.
from statannotations.
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.
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.
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.
For posterity, use .configure(hide_non_significant=True)
from v.0.6.0.
from statannotations.
Related Issues (20)
- Cannot configure annotator for plot when groups are in y axis HOT 1
- Implementing New Tests HOT 3
- Plotting of significance happens beneath Seaborn Violin Plots
- Allow to add title HOT 4
- how to use statannotations in FaceGrid of seaborn HOT 3
- bump seaborn version HOT 1
- Custom labels with text_format == 'simple' or text_format == 'full'
- nan_policy='omit' does not work in paired tests (t-test, Wilcoxon) while using Annotator.plot_and_annotate_facets HOT 6
- how to use set_pvalues within plot_and_annotate_facets HOT 1
- Drifting annotations with FacetGrid HOT 1
- Get results as pandas dataframe?
- What does * (ns) mean? HOT 3
- report corrected p values
- Integration with new Numpy and Seaborn? HOT 1
- Seaborn categorical plot issue HOT 1
- How to plot facet grid with hue argument? HOT 5
- Possible to not show non-significant relationships? HOT 1
- Feature request: Text format that combines both numerical p-values and stars
- Possible to get statistics and p-values when using FacetGrid?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from statannotations.