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

Error bars #25

Open
rioualen opened this issue Sep 6, 2022 · 1 comment
Open

Error bars #25

rioualen opened this issue Sep 6, 2022 · 1 comment

Comments

@rioualen
Copy link

rioualen commented Sep 6, 2022

Hi,

Thank you for this cool package! Is there a way to add error bars to the logos?

Claire

@omarwagih
Copy link
Owner

Hi Claire, ggseqlogo returns a ggplot object which you can extend with ggplot in whatever way you want including geom_errorbar

ggseqlogo(seqs) + geom_errorbar(data=df, aes(x, y, ymin, ymax))

should work, given a data frame (df) containing the error bar information

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

No branches or pull requests

2 participants