about summary refs log tree commit diff
path: root/uploader/templates/genotypes/study-design-elements.html
blob: aadef5e44f3061bbdc95bd79ed405ea07494c0d1 (plain)
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
<div class="border rounded p-3 mb-3" role="group" aria-labelledby="study-inputs-group-label">
  <div id="study-inputs-group-label" class="fw-bold mb-2">Study Details</div>

  <div class="form-group">
    <div class="row mb-3">
      <label for="select-study-design" class="col-sm-2 col-form-label">
        study design</label>
      <div class="col-sm-10">
        {% set _study_design = study_design|default('') %}
        <select id="select-study-design"
                name="study_design"
                class="form-control"
                required="required">
          <option value="" {% if not _study_design %}selected{% endif %}>Select a study design</option>
          <option value="inbred-cross" {% if _study_design == "inbred-cross" %}selected{% endif %}>Inbred line cross</option>
          <option value="gwas-counting" {% if _study_design == "gwas-counting" %}selected{% endif %}>Outbred/Natural population (GWAS &mdash; counting)</option>
          <option value="polyploid-dosing" {% if _study_design == "polyploid-dosing" %}selected{% endif %}>Pre-computed dosage/continuous</option>
        </select>
      </div>
      <span class="form-text text-muted">
        The study design determines the genotype encoding used for mapping symbols
        in the genotype file to numerical values to be used in your mapping
        computations. e.g.<br />
        <em>Inbred line cross</em> could do <strong>parent 1</strong> ==&gt; -1,
        <strong>parent 2</strong> ==&gt; 1, <strong>heterozygous</strong> ==&gt;
        0, meanwhile, GWAS could use the values 0, 1 and 2, while the pre-computed
        studies could use floating point values between 0.0 to 2.0 (inclusive.)
      </span>
    </div>
  </div>
</div>