PoonLab / Kaphi

Kernel-embedded ABC-SMC for phylodynamic inference
GNU Affero General Public License v3.0
4 stars 2 forks source link

User can't download tree plot with updated dimensions #72

Closed 0ldM4j0r closed 7 years ago

0ldM4j0r commented 7 years ago

Since the problem stems from limitations in the plot.phylo function in R I went ahead and researched for the possibility of embedding javascript libraries in the shiny app. Their is an R library called htmlwidgets, which provides R interfaces for different visualisation javascript libraries. There are two widgets which can be used for constructing phylogenitic visualisations: phylocanvas and phylotree. I will be trying out both packages to see how they deal with this issue.

There is also an R library called epiwidgets (this seems to be made by the same guy who made phylotree , which has treewidget which visualises trees and provides interactivity with said trees, I will be looking into this package as will.

ArtPoon commented 7 years ago

Let's not worry about being able to save tree plots. Investigate phylocanvas as a visualization interface - do this on a separate branch and commit your code.

0ldM4j0r commented 7 years ago

Implemented javascript tree viewer (phylocanvas) in shiny app. Commit PoonLab/KaphiShiny@ef3e94f in KaphiShiny.