Skip to content

Commit

Permalink
Add SVG download information of the Krona plot
Browse files Browse the repository at this point in the history
  • Loading branch information
ttsudipto committed Aug 1, 2023
1 parent 7ee6d05 commit 7857afb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
3 changes: 2 additions & 1 deletion help.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
ring and the inner ring denoting the domains. The color gradient shows the abundant taxa
(red) and green denotes the least abundant taxa.<br/>
For a better view, see the plot at <i>"max depth = 6"</i> for amplicon (genus) and
<i>"max depth = 7"</i> for WGS (species).
<i>"max depth = 7"</i> for WGS (species). The Krona plot can be downloaded as a SVG image
using the <i>"Snapshot"</i> button located at the upper left corner of the plot.
<table style="width:100%;">
<tr>
<td style="width:48%; margin:0 1% 0 1%;">(a)</td>
Expand Down
16 changes: 14 additions & 2 deletions krona.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,21 @@ function makeSticky() {
<iframe id="krona_frame" style="width:100%; height:600px;"></iframe>
<?php
if ($at === "WMS")
echo "<p>N.B. - <b>1)</b> For Amplicon data, Krona allows visualization upto genus level. <b>2)</b> For WMS data, Krona allows visualization upto species level. <b>3)</b> The depth can be modified using the \"Max depth\" button on the upper left corner. <b>4)</b> For better view, please view the plot at <i>\"Max depth\" = 7</i>.</p>";
echo "<p>N.B. - <b>1)</b> For Amplicon data, Krona allows visualization upto genus
level. <b>2)</b> For WMS data, Krona allows visualization upto species level.
<b>3)</b> The depth can be modified using the \"Max depth\" button on the upper
left corner. <b>4)</b> For better view, please view the plot at <i>\"Max depth\"
= 7</i>. <b>5)</b> The current view of the Krona plot can be downloaded as a SVG
image by clicking on the <i>\"Snapshot\"</i> button located at the upper left corner
of the plot.</p>";
else
echo "<p>N.B. - <b>1)</b> For Amplicon data, Krona allows visualization upto genus level. <b>2)</b> For WMS data, Krona allows visualization upto species level. <b>3)</b> The depth can be modified using the \"Max depth\" button on the upper left corner. <b>4)</b> For better view, please view the plot at <i>\"Max depth\" = 6</i>.</p>";
echo "<p>N.B. - <b>1)</b> For Amplicon data, Krona allows visualization upto genus
level. <b>2)</b> For WMS data, Krona allows visualization upto species level.
<b>3)</b> The depth can be modified using the \"Max depth\" button on the upper
left corner. <b>4)</b> For better view, please view the plot at <i>\"Max depth\"
= 6</i>. <b>5)</b> The current view of the Krona plot can be downloaded as a SVG
image by clicking on the <i>\"Snapshot\"</i> button located at the upper left corner
of the plot.</p>";
?>
</div>
<div style="clear:both;">
Expand Down

0 comments on commit 7857afb

Please sign in to comment.