Feature suggestion, integration with gggenes
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
Hey folks,
First of all, thank you so much for the library!
This is rather a feature suggestion than an issue, I wonder if you could implement wrappers to integrate gggenes library (https://wilkox.org/gggenes/) with plotly. I really need an interactive versions of genome annotation graphs.
Code I used.
p <- ggplot(phage_genes, aes(xmin = start, xmax = end, y = molecule)) +
facet_wrap(~ molecule, scales = "free", ncol = 1) +
geom_gene_arrow(fill = "grey") +
geom_subgene_arrow(data = phage_annotations,
aes(xmin = start, xmax = end, y = molecule, fill = subgene,
xsubmin = from, xsubmax = to), color="black", alpha=.7) +
labs(y='Genome ID', fill='Annotation ID', color=" ", shape=" ")+
theme_genes()
ggplotly(p)
Currently, it returns these errors:
https://github.com/ropensci/plotly/issuesWarning: geom_GeomSubgeneArrow() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issuesWarning: geom_GeomGeneArrow() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issuesWarning
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied R example using gggenes and ggplotly, focusing on geom_GeneArrow and geom_SubgeneArrow. Trace how existing ggplot geoms are handled in plotly.R. Done means the example produces an interactive genome annotation graph without either unimplemented-geom warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100