Created
June 17, 2014 22:02
-
-
Save jmmastey/bf14b8cebbfc209fb999 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input id="generator" type="button" value="Generate!" /> | |
<p>Locus options here:</p> | |
<select name="theMenu" id = "setMenu"> | |
<option selected value="real">Real Set</option> | |
<option value="real1">Real + Fake Set 1</option> | |
<option value="real2">Real + Fake Set 2</option> | |
<option value="real1_2">Real + Fake Set 1 and 2</option> | |
</select> | |
function whichGenes(){ | |
foo = document.getElementById("setMenu"); | |
if (foo == 'real'){ | |
maybeLocus = geneSet; | |
} else if (foo == 'real1'){ | |
maybeLocus = geneSet + fakeSet1; | |
} else if (foo == 'real2'){ | |
maybeLocus = geneSet + fakeSet2; | |
} else if (foo == 'real1_2'){ | |
maybeLocus = geneSet + fakeSet1 + fakeSet2; | |
}; | |
}; | |
//the button makes whichGenes() go, among other things. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment