plotTrees plots a tree or group of trees
plotTrees(
  trees,
  nodes = FALSE,
  tips = NULL,
  tipsize = NULL,
  scale = 0.01,
  palette = "Dark2",
  base = FALSE,
  layout = "rectangular",
  node_nums = FALSE,
  tip_nums = FALSE,
  title = TRUE,
  labelsize = NULL,
  common_scale = FALSE,
  ambig = "grey",
  bootstrap_scores = FALSE,
  tip_palette = NULL,
  node_palette = NULL
)a grob containing a tree plotted by ggtree.
A tibble containing phylo and airrClone
objects
color internal nodes if possible?
color tips if possible?
size of tip shape objects
width of branch length scale bar
color palette for tips and/or nodes. Can supply a named vector for all tip states, or a palette named passed to ggplot2::scale_color_brewer (e.g. "Dark2", "Paired", "Set1") or ggplot2::scale_color_distiller (e.g. RdYlBu) or
recursion base case (don't edit)
rectangular or circular tree layout?
plot internal node numbers?
plot tip numbers?
use clone id as title?
text size
strecth plots so branches are on same scale? determined by sequence with highest divergence
How to color ambiguous node reconstructions? (grey or blend)
Show bootstrap scores for internal nodes? See getBootstraps.
deprecated, use palette
deprecated, use palette
Function uses ggtree functions to plot tree topologlies estimated by 
getTrees, and findSwitches. Object can be further modified with 
ggtree functions. Please check out 
https://bioconductor.org/packages/devel/bioc/vignettes/ggtree/inst/doc/ggtree.html and
cite ggtree in addition to dowser if you use this function.
getTrees, findSwitches
data(ExampleClones)
trees <- getTrees(ExampleClones[10,])
plotTrees(trees)[[1]]
Run the code above in your browser using DataLab