plot.primerTree {primerTree}R Documentation

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 class '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

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')

[Package primerTree version 1.0.6 Index]