Learn R Programming

primerTree (version 1.0.6)

plot.primerTree: plot function for a primerTree object, calls plot_tree_ranks

Description

plot function for a primerTree object, calls plot_tree_ranks

Usage

# S3 method for primerTree
plot(x, ranks = NULL, main = NULL, ...)

Arguments

x

primerTree object to plot

ranks

The ranks to include, defaults to all common ranks, if NULL print all ranks. If 'none' just print the layout.

main

an optional title to display, if NULL displays the name as the title

...

additional arguments passed to plot_tree_ranks

See Also

plot_tree_ranks, plot_tree

Examples

Run this code
# NOT RUN {
library(gridExtra)
library(directlabels)
#plot with all common ranks
plot(mammals_16S)

#plot only the class
plot(mammals_16S, 'class')

#plot the layout only
plot(mammals_16S, 'none')
# }

Run the code above in your browser using DataLab