merge_krona | R Documentation |
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.
merge_krona(files = NULL, output = "mergeKrona.html")
files |
(required) path to html files to merged |
output |
path to the output file |
This function is mainly a wrapper of the work of others. Please cite Krona if you use this function.
A html file
Adrien Taudière
krona
## Not run:
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"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.