phylowidget: phylowidget Phylogeny widget

Description Usage Arguments Note References Examples

View source: R/phylowidget.R

Description

An interactive phylogeny viewer using D3.js, based on phylotree.js. Just supply a Newick string or phylo data as the parameter.

Usage

1

Arguments

nwk

Newick string or phylo from the ape package.

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.

Note

This displays a phylogeny in a browser window; by default, the viewer is disabled.

References

phylotree.js http://github.com/veg/phylotree.js

Examples

1
2
3
4
5
6
7
## Not run: 
# A stand-alone example
library(ape)
data(bird.orders)
phylowidget(bird.orders)

## End(Not run)

sdwfrost/phylowidget documentation built on May 29, 2019, 4:23 p.m.