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

geom_text using metadata from Granges object? #93

Closed
nnalpas opened this issue Aug 23, 2017 · 3 comments
Closed

geom_text using metadata from Granges object? #93

nnalpas opened this issue Aug 23, 2017 · 3 comments

Comments

@nnalpas
Copy link

nnalpas commented Aug 23, 2017

Hi,
Sorry to ask my question in the issue.
Any chance that ggbio "is/will be" able to display label (via geom_text?) contained as metadata of a Granges object?
Or is there an alternative?
Thanks,

@lawremi
Copy link
Owner

lawremi commented Aug 23, 2017

Simplest approach would be to coerce the GRanges to a data.frame with as.data.frame(gr) and proceed as normal.

@nnalpas
Copy link
Author

nnalpas commented Aug 23, 2017

Of course, should have thought about it. Works perfectly now.
Thanks

@lawremi lawremi closed this as completed Aug 23, 2017
@harbi811
Copy link

Hi @lawremi,
My apologies for commenting on a closed issue. I am trying to label outlier points in the Manhattan point and I am unsure whether ggbio has an argument for that. Kindly advice on this

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

3 participants