Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Examples

data("esophagus")
plot_tree(esophagus)
plot_tree(esophagus, nodelabf=nodeplotblank)

phyloseq

Handling and analysis of high-throughput microbiome census data

v1.34.0
AGPL-3
Authors
Paul J. McMurdie <joey711@gmail.com>, Susan Holmes <susan@stat.stanford.edu>, with contributions from Gregory Jordan and Scott Chamberlain
Initial release
2019-04-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.