A function for getting multiple heat_tree plots per rank.

heat_tree_plots(obj, rank_list = NULL, title = TRUE, ...)

Arguments

obj

An object to be converted to a Taxmap object with create_taxmap.

rank_list

A vector of ranks used to generate heat_trees. Default: NULL

title

Can be a logical, NULL, or a string. The string can utilize {rank} to dynamically display the rank in the title via glue.

...

Any of the heat_tree parameters can be used to change the way the heat_tree output is displayed. Please see the heat_tree_parameters documentation for further explanation.

Value

A list of heat_tree plots.

See also

Examples

# NOT RUN {
if(interactive()){
# This example uses data that are no longer available in the MicrobiomeR package,
# however, they can be easily generated with \code{\link{MicrobiomeR}{as_analyzed_format}}.
library(MicrobiomeR)
analyzed_silva <- as_MicrobiomeR_format(MicrobiomeR::raw_silva_2, "analyzed_format")
h_trees <- heat_tree_plots(analyzed_silva, rank_list = c("Phylum", "Class"))
h_trees$Class
 }
# }