Team:Heidelberg/Modeling/miGUI

From 2010.igem.org

(Difference between revisions)
Line 17: Line 17:
function getvar (num)
function getvar (num)
{
{
-
var r = 0
+
var r = 0;
var count=document.forms["form"+num].length-2;
var count=document.forms["form"+num].length-2;
dataarray[num] = new Array(count);
dataarray[num] = new Array(count);
Line 23: Line 23:
for (var i=0; i<=count; i++) {
for (var i=0; i<=count; i++) {
-
if(document.forms["form"+num].elements[i].type == 'radio') {
+
if(document.forms["form"+num].elements[i].type == 'radio') {
-
if (document.forms["form"+num].elements[i].checked == true) {
+
if (document.forms["form"+num].elements[i].checked == true) {
 +
dataarray[num][i-r] = document.forms["form"+num].elements[i].value;
 +
} else { r++ }
 +
} else if (document.forms["form"+num].elements[i].type == 'select-multiple') {
 +
dataarray[num][i-r] = ""
 +
for(var j=0;j<document.forms["form"+num].elements[i].length;j++){
 +
if (document.forms["form"+num].elements[i][j].selected == true ) {
 +
dataarray[num][i-r] += document.forms["form"+num].elements[i][j].value + ";";
 +
}
 +
}
 +
} else {
dataarray[num][i-r] = document.forms["form"+num].elements[i].value;
dataarray[num][i-r] = document.forms["form"+num].elements[i].value;
-
document.forms["formout"+num].elements[i-r].value = dataarray[num][i-r];
+
}
-
} else { r++ }
+
-
} else {
+
-
dataarray[num][i-r] = document.forms["form"+num].elements[i].value;
+
document.forms["formout"+num].elements[i-r].value = dataarray[num][i-r];
document.forms["formout"+num].elements[i-r].value = dataarray[num][i-r];
-
  }
 
-
 
}
}
-
switch (num) {
+
}
-
case 6:
+
-
}
 
function showoptions(num)
function showoptions(num)
Line 53: Line 56:
<html>
<html>
<body>
<body>
-
<a href="javascript:count()">klick</a>
+
<a href="javascript:klick()">klick</a>
<div id="main_page">
<div id="main_page">
<div id="area_map">
<div id="area_map">
Line 175: Line 178:
</select></p>
</select></p>
-
<p>Choose your Off-Targets:<br><select name="miRBSofftarget" size="4" multiple>
+
<p>Choose your Off-Targets:<br><select name="miRBSofftarget[]" size="4" multiple>
<option value='hsa_AML-HL60'>hsa_AML-HL60</option>
<option value='hsa_AML-HL60'>hsa_AML-HL60</option>
<option value='hsa_AML-Kas1'>hsa_AML-Kas1</option>
<option value='hsa_AML-Kas1'>hsa_AML-Kas1</option>

Revision as of 22:51, 18 October 2010

klick

GUI_Picture shRNAmir Promoter1 Promoter2 miGene shR_BS miR_BS Reference Virus Operator

shRNAmir:
Promoter1:
Promoter2:
miGene:
shR_BS:
miRNA_BS:
Target:
Off-Target:
On/Off:
Treshold:
Reference:
Virus:
Operator:
Text Text Text Text
Text Text Text Text
Variable1

Text Text Text Text
Text Text Text Text

Variable2

Text Text Text Text
Text Text Text Text

Variable3

Text Text Text Text
Text Text Text Text

Variable4

Text Text Text Text
Text Text Text Text

Variable5

miRBS

Choose your Target:

Choose your Off-Targets:

On-Targeting Off-Targeting

Set relative miRNA treshold

Text Text Text Text
Text Text Text Text

Variable7

Text Text Text Text
Text Text Text Text

Variable8

Text Text Text Text
Text Text Text Text

Variable9