krona | R Documentation |
Need the installation of kronatools on the computer (installation instruction).
krona(
physeq,
file = "krona.html",
nb_seq = TRUE,
ranks = "All",
add_unassigned_rank = 0,
name = NULL
)
physeq |
(required): a |
file |
(required) the location of the html file to save |
nb_seq |
(logical) If true, Krona set the distribution of sequences in the taxonomy. If False, Krona set the distribution of ASVs in the taxonomy. |
ranks |
Number of the taxonomic ranks to plot
(num of the column in |
add_unassigned_rank |
(int) Add unassigned for rank inferior to 'add_unassigned_rank' when necessary. |
name |
A name for intermediary files, Useful to name
your krona result files before merging using |
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
merge_krona
data("GlobalPatterns", package = "phyloseq")
GA <- subset_taxa(GlobalPatterns, Phylum == "Acidobacteria")
## Not run:
krona(GA, "Number.of.sequences.html")
krona(GA, "Number.of.ASVs.html", nb_seq = FALSE)
merge_krona(c("Number.of.sequences.html", "Number.of.ASVs.html"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.