File: index.html

package info (click to toggle)
q2-feature-table 2022.11.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,576 kB
  • sloc: javascript: 34,249; python: 5,605; makefile: 35; sh: 25
file content (81 lines) | stat: -rw-r--r-- 2,367 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{% extends "tabbed.html" %}

{% block tabcontent %}
<div class="row">
  <div class="col-lg-12">
    <h1>Table summary</h1>

    <div class="row">
      <div class="col-lg-6">
        <table class="table table-striped table-hover">
          <thead>
            <tr>
              <th>Metric</th>
              <th>Sample</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <th scope="row">Number of samples</th>
              <td>{{ "{:,}".format(number_of_samples) }}</td>
            </tr>
            <tr>
              <th scope="row">Number of features</th>
              <td>{{ "{:,}".format(number_of_features) }}</td>
            </tr>
            <tr>
              <th scope="row">Total frequency</th>
              <td>{{ "{:,}".format(total_frequencies) }}</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>

    <h1>Frequency per sample</h1>

    <div class="row">
      <div class="col-lg-6">
        {{ sample_summary_table }}
        <p class="text-left">
          Frequency per sample detail (<a href="sample-frequency-detail.csv">csv</a> |
          <a href="sample-frequency-detail.html">html</a>)
        </p>
      </div>
      {% if number_of_samples > 1 %}
      <div class="col-lg-6">
        <p class="text-center">
            <a href="sample-frequencies.pdf">
                <img src="sample-frequencies.png" width="700" height="500" class="center-block">
                <br>
                <p class="text-center">Download as PDF</p>
            </a>
        </p>
      </div>
      {% endif %}
    </div>

    <div class="row">
      <div class="col-lg-6">
        <h1>Frequency per feature</h1>
        {{ feature_summary_table }}
        <p class="text-left">
          Frequency per feature detail (<a href="feature-frequency-detail.csv">csv</a> |
          <a href="feature-frequency-detail.html">html</a>)
        </p>
      </div>
      {% if number_of_features > 1 %}
      <div class="col-lg-6">
        <p class="text-center">
            <a href="feature-frequencies.pdf">
                <img src="feature-frequencies.png" width="700" height="500" class="center-block">
                <br>
                <p class="text-center">Download as PDF</p>
            </a>
        </p>
      </div>
      {% endif %}
    </div>
  </div>
</div>
{% endblock %}