diff options
| author | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-11-04 13:35:31 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-11-04 14:19:49 -0600 |
| commit | 99a27b11db3f121bfbf3dc4118a68e60f710bb98 (patch) | |
| tree | ed6f973247ffa83a4310b42081e4fda80f410eb9 | |
| parent | 270683ba231749bdb1a49f6aaef6fd8f24cb1287 (diff) | |
| download | gn-uploader-99a27b11db3f121bfbf3dc4118a68e60f710bb98.tar.gz | |
Add fragment for study design elements.
| -rw-r--r-- | uploader/templates/genotypes/study-design-elements.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/uploader/templates/genotypes/study-design-elements.html b/uploader/templates/genotypes/study-design-elements.html new file mode 100644 index 0000000..b3caff4 --- /dev/null +++ b/uploader/templates/genotypes/study-design-elements.html @@ -0,0 +1,27 @@ +<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"> + <select id="select-study-design" class="form-control" required="required"> + <option value="">Select a study design</option> + <option value="inbred-cross">Inbred line cross</option> + <option value="gwas-counting">Outbred/Natural population (GWAS — counting)</option> + <option value="polyploid-dosing">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> ==> -1, + <strong>parent 2</strong> ==> 1, <strong>heterozygous</strong> ==> + 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> |
