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

using make_alignment_dummies() and forward aesthetic #35

Closed
lhor opened this issue Nov 26, 2020 · 1 comment
Closed

using make_alignment_dummies() and forward aesthetic #35

lhor opened this issue Nov 26, 2020 · 1 comment

Comments

@lhor
Copy link

lhor commented Nov 26, 2020

Hi,
Thank you for putting together this package. I'm having trouble when simultaneously using make_alignment_dummies() with the forward aesthetic option. Using the example data provided:

dummies <- make_alignment_dummies( example_genes,aes(xmin = start, xmax = end, y = molecule, id = gene, forward=direction),on = "genE")
ggplot(example_genes, aes(xmin = start, xmax = end, y = molecule, fill = gene,forward=direction)) +  geom_gene_arrow() + geom_blank(data = dummies) + facet_wrap(~ molecule, scales = "free", ncol = 1) + scale_fill_brewer(palette = "Set3") + theme_genes()
Error in FUN(X[[i]], ...) : object 'direction' not found

I'm not sure what's going on... am I missing anything? Thank you!

@lhor
Copy link
Author

lhor commented Nov 26, 2020

oh! solved it! on issue #3 you discuss about this problem.

@lhor lhor closed this as completed Nov 26, 2020
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