jasp-issues icon indicating copy to clipboard operation
jasp-issues copied to clipboard

[Feature Request]: Add p-value/stars to plots

Open guikool opened this issue 3 years ago • 5 comments

Description

Add p-value or asterisk to highlight significance on plots

Purpose

publish ready plots

Use-case

cf ggpubr

Is your feature request related to a problem?

no

Describe the solution you would like

ggpubr package

Describe alternatives that you have considered

ggpubr or ggstatsplot

Additional context

Dear JASP team, Although plotting skills of JASP are fascinating, it lacks of indicative p-value between groups box plots or ANOVA significance results, for instance. It could be nice to implement ggpubr nor ggstatsplot like packages in JASP Thanks Best regards G.

guikool avatar Mar 22 '22 15:03 guikool

Dear JASP team,

Although plotting skills of JASP are fascinating, it lacks of indicative p-value between groups box plots or ANOVA significance results, for instance. It could be nice to implement ggpubr nor ggstatsplot like packages in JASP.

An exemple: https://www.datanovia.com/en/blog/how-to-add-p-values-onto-basic-ggplots/

Thanks,

A

alandrade1 avatar Aug 02 '22 22:08 alandrade1

That would be SO helpful. A lot of time wasted editing plots - and it's error prone too.

mtruglio avatar Sep 08 '22 05:09 mtruglio

I agree @mtruglio

alandrade1 avatar Sep 17 '22 04:09 alandrade1

Another request for this from the forum:

https://forum.cogsci.nl/discussion/9495/figures-in-jasp#latest

And for what it's worth, I would support, preferably. ggstatsplot because it seems to be more actively maintained and because it has a publication to go with it

Patil I (2021). “Visualizations with statistical details: The 'ggstatsplot' approach.” Journal of Open Source Software, 6(61), 3167.

TarandeepKang avatar Sep 08 '24 16:09 TarandeepKang

would be a practical feature... looking forward for its implementation...

vinschger avatar Sep 09 '24 05:09 vinschger

until such a feature is implemented officially in JASP, can I do this "manually" by entering R code in Jasp? if yes, can anyone show me how to do this for t-test and/or anova and provide a screenshot, so that I can try to reproduce it? may I ask which software (macos) you are normally using for postprocessing jasp figures, as there is no real plot editing integrated in jasp? I have no photoshop subscription and am looking for a good (opensource?) alternative for editing my jasp figures.

vinschger avatar Dec 28 '24 12:12 vinschger

You can Export to pptx and add Stars in powerpoint or libreofffice

tomtomme avatar Dec 28 '24 19:12 tomtomme

thank you. I was not aware of this possibility to ungroup objects of an exported ppt file to edit them. that is indeed very useful. Thanks so much for showing me this great possibility.

Nevertheless, may I ask: could I achieve this also by adding R code in JASP?

vinschger avatar Dec 29 '24 18:12 vinschger

I do not know. Maybe some of the R-experts from the dev-team could answer this? @vandenman

tomtomme avatar Dec 29 '24 19:12 tomtomme

a question from me as a guthub newbie and new jasp user: how do I see on github if a feature request (like this) is considered for implementation, under development etc? or is it not possible to see such a status?

vinschger avatar Jan 25 '25 20:01 vinschger

All requests that are not yet closed are considered but priorities cannot be seen, sorry. Some requests like this seem to be of lower prio since its not too hard to add such stars afterwards in powerpoint.

tomtomme avatar Jan 25 '25 21:01 tomtomme

@matyasbukva I tried to include p-values within a scatterplot via plotbuilder - this seems not yet possible or did I do something wrong? See

Image

tomtomme avatar Jul 02 '25 09:07 tomtomme

You have to open the component list and enter the groups you want to compare. This only works if X is a category variable. If you want a P value for a scatter plot, use annotation instead :)

Thomas Langkamp @.***> ezt írta (időpont: 2025. júl. 2., Sze 11:49):

Assigned #1668 https://github.com/jasp-stats/jasp-issues/issues/1668 to @matyasbukva https://github.com/matyasbukva.

— Reply to this email directly, view it on GitHub https://github.com/jasp-stats/jasp-issues/issues/1668#event-18428515995, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVW2D7MIOA6NUHRAIBOPRW33GOTIZAVCNFSM6AAAAABN3DJSLCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJYGQZDQNJRGU4TSNI . You are receiving this because you were assigned.Message ID: @.***>

matyasbukva avatar Jul 02 '25 09:07 matyasbukva

Wonderful!!!

Image

So we can close this request I guess, since jasp 0.95 is around the corner (some weeks).

cheers

tomtomme avatar Jul 02 '25 09:07 tomtomme