exportKrona | R Documentation |
Generate a krona chart containing the full taxonomy from a SQM object.
exportKrona(SQM, output_name = NA)
SQM |
A SQM, SQMbunch or SQMlite object. |
output_name |
character. Name of the output file containing the Krona charts in html format (default |
Original code was kindly provided by Giuseppe D'Auria (dauria_giu@gva.es).
No return value, but a krona chart is produced in the current working directory.
plotTaxonomy
for plotting the most abundant taxa of a SQM object.
data(Hadza)
# Check that kronatools is present.
ecode = system('ktImportText', ignore.stdout = TRUE, ignore.stderr = TRUE)
# If so, run.
if(ecode==0) { exportKrona(Hadza, output_name = file.path(tempdir(), "krona.html")) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.