zachcp / phylocanvas

htmlwidgets for phylocanvas
http://zachcp.github.io/phylocanvas/
Other
9 stars 2 forks source link

Example allowing users to select clades #4

Open zachcp opened 7 years ago

zachcp commented 7 years ago

// tre is the phylocanvas JS object tre.getSelectedNodeIds()

zachcp commented 7 years ago

tre.getSelectedNodeIds() will return the currently selected nodes. This could be useful for passing info back to the R console.

pmeelis commented 1 year ago

Can you give a simple working example of using it in a shiny app? I would like to show some additional information for selected nodes.