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

Cannot modify ggplot theme for gg_miss_upset. #315

Open
siavash-babaei opened this issue Mar 16, 2023 · 2 comments
Open

Cannot modify ggplot theme for gg_miss_upset. #315

siavash-babaei opened this issue Mar 16, 2023 · 2 comments
Milestone

Comments

@siavash-babaei
Copy link

Cannot modify ggplot theme for gg_miss_upset. Is it not a proper ggplot2 object?!

library(naniar)

data(oceanbuoys)

oceanbuoys |> 
  naniar::gg_miss_upset(order.by = "freq") +
  ggplot2::theme_bw()
#> NULL
@njtierney
Copy link
Owner

Hi there,

Alas it is a custom implementation by upsetR - https://rdrr.io/cran/UpSetR/man/upset.html - I will make a note of this in the next release to update the documentation to note this.

@njtierney njtierney added this to the V0.7.0 milestone Apr 10, 2023
@njtierney
Copy link
Owner

another option could be to use something like https://github.com/const-ae/ggupset instead - or document how to use both approaches, UpSetR and ggupset

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

No branches or pull requests

2 participants