Krona
Krona copied to clipboard
Can you make one HTML from multiple files
Hi,
I have 32 XML files and I would like to pool the data together and visualize it in a pie chart. Is that something that is possible to do with Krona and if so how? Thank you.
I have the same requirment above, Could you please help. Thanks
Just merge the XML files into one file.
If you look at the XML example in the wiki, you can see how the XML should look like if you wan't to distinguish the datasets.
Another option would be making a Krona chart for each and then using ktImportKrona
to combine them.
Hi @ondovb , how would I rename the samples up top in the merged Krona HTML from ktImportKrona
? In my example, both are named 'kraken.' Where does it choose that name? Probably from my files, each named kraken.html
? Thanks!
Figured it out. Either:
- Name the html file under the tag
<dataset>blah</dataset>
where blah is the name in this example - When creating the html file, run the command with the "comma" parameter, e.g.,
ktImportText -o tmp.html kraken.report,blah
where blah is the name in this example
Figured it out. Either:
- Name the html file under the tag
<dataset>blah</dataset>
where blah is the name in this example - When creating the html file, run the command with the "comma" parameter, e.g.,
ktImportText -o tmp.html kraken.report,blah
where blah is the name in this example
I have generated 2 krona plots. now how to merge those 2 Krona plots using ktImportKrona? Please guide
You can merge them in a single html file:
An example for 3 files:
ktImportText kraken.report1,name1 kraken.report2,name2 kraken.report3,name3 -o tmp.html
Hi, just following up with this question; using ktImportText
creates the merged HTML. However, the levels are reduced to five instead of ~30 (when doing it individually). Does anyone have any suggestion to keep all levels in the merged HTML file?
Hi, just use: ktImportKrona -o krona_merge.htm \ krona_chart_1.html \ krona_chart_2.html \ krona_chart_3.html