Need the installation of kronatools on the computer (installation instruction).
Function merge_krona allows merging multiple html files in one interactive krona file
Note that you need to use the name args in krona()
function before merge_krona()
in order to give good name to each krona pie in the output.
Details
This function is mainly a wrapper of the work of others. Please cite Krona if you use this function.
Examples
if (FALSE) { # tolower(Sys.info()[["sysname"]]) != "windows" && MiscMetabar::is_krona_installed()
if (FALSE) { # \dontrun{
data("GlobalPatterns", package = "phyloseq")
GA <- subset_taxa(GlobalPatterns, Phylum == "Acidobacteria")
krona(GA, "Number.of.sequences.html", name = "Nb_seq_GP_acidobacteria")
krona(GA, "Number.of.ASVs.html", nb_seq = FALSE, name = "Nb_asv_GP_acidobacteria")
merge_krona(c("Number.of.sequences.html", "Number.of.ASVs.html"), "mergeKrona.html")
unlink(c("Number.of.sequences.html", "Number.of.ASVs.html", "mergeKrona.html"))
} # }
}