exportKrona
exportKrona |
R Documentation |
Export the taxonomy of a SQM object into a Krona Chart
Description
Generate a krona chart containing the full taxonomy from a SQM object.
Usage
exportKrona(SQM, output_name = NA)
Arguments
|
A SQM, SQMbunch or SQMlite object. |
|
character. Name of the output file containing the
Krona charts in html format (default
|
Details
Original code was kindly provided by Giuseppe D’Auria (dauria_giu@gva.es).
Value
No return value, but a krona chart is produced in the current working directory.
See Also
plotTaxonomy for plotting the most abundant taxa of a SQM object.
Examples
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")) }