phyloseq (version 1.16.2)

nodeplotblank: Function to avoid plotting node labels

Description

Unlike, nodeplotdefault and nodeplotboot, this function does not return a function, but instead is provided directly to the nodelabf argument of plot_tree to ensure that node labels are not added to the graphic. Please note that you do not need to create or obtain the arguments to this function. Instead, you can provide this function directly to plot_tree and it will know what to do with it. Namely, use it to avoid plotting any node labels.

Usage

nodeplotblank(p, nodelabdf)

Arguments

p
(Required). The plot_tree graphic.
nodelabdf
(Required). The data.frame produced internally in link{plot_tree} to use as data for creating ggplot2-based tree graphics.

Value

  • The same input object, p, provided as input. Unmodified.

See Also

nodeplotdefault

nodeplotboot

plot_tree

Examples

Run this code
data("esophagus")
plot_tree(esophagus)
plot_tree(esophagus, nodelabf=nodeplotblank)

Run the code above in your browser using DataLab