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

plotIRanges: Don't know how to add o to a plot #7

Open
Deleetdk opened this issue Jun 28, 2017 · 0 comments
Open

plotIRanges: Don't know how to add o to a plot #7

Deleetdk opened this issue Jun 28, 2017 · 0 comments

Comments

@Deleetdk
Copy link

I need to do some work with ranges data, and naturally, I was re-reading the chapter on this. However, the plotting function no longer works:

> y = IRanges(c(1, 5, 5, 8), end = c(0, 6, 10, 10))
> plotIRanges(y)
Error: Don't know how to add o to a plot

This is a non-specific ggplot2 bug:

The bug happens due to name-spacing. The geom_rect functions also exist in the bioinformatics package ggbio, which I had loaded. To fix is easy, simple add ggplot2:: in front of the calls.

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

1 participant