Description Usage Arguments Note References Examples
An interactive phylogeny viewer using D3.js, based on phylotree.js. Just supply
a Newick
string or phylo
data as the parameter.
1 | phylowidget(nwk, width = NULL, height = NULL)
|
nwk |
Newick string or |
width |
Integer in px to override the default width. The default width fills the browser window. |
height |
Integer in px to override the default height. The default height fills the browser window. |
This displays a phylogeny in a browser window; by default, the viewer is disabled.
phylotree.js
http://github.com/veg/phylotree.js
1 2 3 4 5 6 7 | ## Not run:
# A stand-alone example
library(ape)
data(bird.orders)
phylowidget(bird.orders)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.