An html widget wrapper of the phylocanvas.js JS library.

phylocanvas(tree, treetype = "rectangular", nodestyles = NULL,
  nodesize = 30, textsize = 30, linewidth = 3, showlabels = TRUE,
  alignlabels = FALSE, showhistory = FALSE, showcontextmenu = TRUE,
  showscalebar = FALSE, width = NULL, height = NULL, elementId = NULL)

Arguments

tree

Required. Newick string of a phyloseq tree, phylo class object, phylo4 class object,, or path to newick-containing file.

treetype

Optional. Default "rectangular". Can be one of "rectengular", "circular", "hierarchical", "diagonal", or "radial".

nodestyles

Optional. Default NULL. Let nodes b stylized.

nodesize

Optional. Default 30. Global nodesize.

textsize

Optional. Default 30. Global textsize.

linewidth

Optional. Default 3. Global linewidth.

showlabels

Optional. Default TRUE. Whether to show labels.

alignlabels

Optional. Default FALSE. Whether to align node labels

showhistory

Optional. Default FALSE. Whether to use/show the history plugin.

showcontextmenu

Optional. Default TRUE. Whether to use/show the mouse context menu.

showscalebar

Optional. Default FALSE. Whether to use/show the scalebar.

width

Optional. Default NULL. HTMLWidget width

height

Optional. Default NULL. HTMLWidget width

elementId

Optional. Default NULL. HTMLWidget ID