Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion for Native Support to Extract Plot Statistics and Add Significance Annotations in Lets-Plot #1114

Open
hxpGit512 opened this issue Jun 16, 2024 · 2 comments
Labels
Milestone

Comments

@hxpGit512
Copy link

Dear Lets-Plot Team,

I am a big fan of the Lets-Plot library that you have developed. Currently, I am facing some challenges while trying to create a boxplot. Specifically, I am unsure how to extract the statistical results from the boxplot to determine the plotting coordinates.

I would like to add significance information for differences between any two groups, which is crucial for discovering and presenting scientific insights. This is a frequent requirement in my work. In Lets-Plot, the current process to display this information is quite complex. I need to first use libraries like SciPy to calculate significance, then find the appropriate areas above the corresponding boxplots to add lines and significance markers. In the ggplot2 ecosystem, packages such as ggpubr allow for easy calculation, export of differential analysis results, and visualization on existing boxplots/violinplots.

Do you have any plans to implement this functionality natively in Lets-Plot in the future?

Thank you for your time and consideration.

Best regards

ggpubr / ggsignif example:
image

letsplot
image

@alshan
Copy link
Collaborator

alshan commented Jun 17, 2024

Hi, we didn't have this planned, but it looks like an important and needed feature. Thank you for the suggestion; we will try to add it in one of the future releases this year.

@alshan alshan added this to the New milestone Jun 17, 2024
@alshan alshan added the * label Jun 17, 2024
@hxpGit512
Copy link
Author

hxpGit512 commented Jun 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants