A function for getting multiple heat_tree plots per rank.

get_heat_tree_plots(obj, rank_list = NULL, ...)

Arguments

obj

An object to be converted to a metacoder object with object_handler.

rank_list

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

...

Any of the heat_tree parameters can be used to change the way the heat_tree output is displayed. Please see the get_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 <- get_heat_tree_plots(analyzed_silva, rank_list = c("Phylum", "Class"))
h_trees$Class
 }
# }