You are on page 1of 1

Abstract

Using JavaScript to Simulate


Results
This project uses nested arrays and After much troubleshooting, and
random number generation to simulate redesigning, my code was eventually
the occurance of genes within DNA DNA Microarrays successful. One JavaScript file logged 49
Microarrays. There are multiple series of random 50-element lists of 1's and 0's; for
random 1's and 0's within each section of Nathan Robertson each array recorded the tallies of each
the Array. Depending on whether the number, calculated the difference, and
difference between the tally of 1's and the (Oncology Focus) what the resulting difference means in
tally of 0's is greater than 8, less than -8, or terms of actual MIcroarrays. The other
between 8 and -8, the element is then JavaScript file executed the same
marked either 'R' (red), 'G' (green) or 'Y' calculations, but rather than logging the full
(yellow) respectively. array within each each section, only logs
Background & Career Connection the color associated with the Difference,
DNA Microarraying is the process often simulating actual microarrays, in which the
used to determine the correlation between fluorescent dyes bind to DNA to emit the
cancer and certain genes. Single DNA colors instead.
strands from a patient are separated into
sections within an array, and then exposed
to cancerous and control cell DNA
extracted from cell cultures. Depending on Conclusion
which DNA the the patient DNA binds to, It was an interesting experience learning
the tested gene is then determined to be about Oncology and then creating a
either expressed, repressed, or unaffected. project in what superficially appears to be
in cancerous cells. From there, a completely different field. For so long I've
assumptions can be made about whether had the impression that the only way I
there is a correllation between cancer and could influence medicine in any way was to
the gene sequence.. directly become a doctor, but the potential
Learning Stretch impact of this code makes my mind race
I had absolutely no experience with coding with ideas that could greatly ease the
before this project, but I developed an practice of oncology. If I could log actual
interest in coding around the beginning of DNA sequences into arrays and then
senior year, which inspired me to want to compare them with other sequences
do code something of my own. I tused within the same category to check bonding
Codecademy and Mozilla to teach myself somehow, I would be able to create a truly
the basics of JavaScript and how to digital microarray, rather than just a
manipulate arrays to create this project. simulation, and have an impact on patients
in a unique way.

You might also like