plotly / plotly/plotly.R

Feature suggestion, integration with gggenes

オープン
#2,258 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
R
スター
2.7k
フォーク
641
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、提供された R 例を gggenes と ggplotly を使って再現し、geom_GeneArrow と geom_SubgeneArrow に重点を置きます。既存の ggplot geoms が plotly.R でどのように処理されているかを追跡します。例が、未実装の geom に関するどちらの警告も出さずにインタラクティブなゲノムアノテーション図を生成できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
r
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。