-
Notifications
You must be signed in to change notification settings - Fork 22
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
bulk_clones plot "CNV state" legend colors #182
Comments
Upgrading from ggplot2 3.4.x -> 3.5.0 caused this .. I raised an issue on their github repo. hopefully they fix it soon. |
Thanks for the update! I had some other packages break with ggplot2 3.5.0 as well. |
Hi, I just stumbled across this by accident. |
Curiously, I've seen some packages add specific workarounds related to ggplot2 3.5, so it's definitely a widespread issue without a simple elegant fix. For example, hrbrthemes (with over 1k GitHub stars): https://github.com/hrbrmstr/hrbrthemes/blob/6417996c2931b3fa84102b5034a42a920c91fdb9/R/color.r#L20-L23 |
The code you linked to is to silence soft-deprecation warnings, which is unrelated to legend keys. The way to restore old behaviour is to use |
It seems that the bulk_clones plot is sometimes missing the CNV state colors legend. Is that expected or a bug?
For example, here is the plot from the mouse tutorial with a proper legend:
Compare that to the Interpreting Numbat results vignette where the legend only has two colors:
The text was updated successfully, but these errors were encountered: