User:Tom Adie/CS2: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{Imperial/Box1|R Exercise 2 (ODE Solver)| | {{Imperial/Box1|R Exercise 2 (ODE Solver)| | ||
RK4 solver: | |||
#[http://hosho.ees.hokudai.ac.jp/~kubo/Rdoc/library/odesolve/html/rk4.html RK4 documentation] | #[http://hosho.ees.hokudai.ac.jp/~kubo/Rdoc/library/odesolve/html/rk4.html RK4 documentation] | ||
#Interface: rk4(y, times, func, parms, ...) | #Interface: rk4(y, times, func, parms, ...) | ||
Model: Constitutive gene expression | |||
#ODE System: | #ODE System: | ||
** d[mRNA]/dt {{Equals}} k_1 - d_1*[mRNA] | ** d[mRNA]/dt {{Equals}} k_1 - d_1*[mRNA] | ||
** d[protein]/dt {{Equals}} k_2[mRNA] -d_2*[protein] | ** d[protein]/dt {{Equals}} k_2[mRNA] -d_2*[protein] | ||
Questions: | |||
*1. Considering that the half-life for the mRNA and the protein is respectively 3min and 1h. Workout the values of (k_1, d_1, k_2, d_2) so that, at steady state, [mRNA] {{Equals}} 3 and [protein] {{Equals}} 500. | |||
''Using the relationship '''degradation rate {{Equals}} ln2 / half-life''' we get values of '''d1 {{Equals}} 0.23''' and '''d2 {{Equals}} 0.012'''. At steady state, '''d[mRNA]/dt''' and '''d[Protein]/dt''' are set to 0. Rearranging gives'' | |||
<center>[mRNA]{{Equals}}k1/d1 <br> | |||
k2/d2{{Equals}}[Protein]/[mRNA] </center><br> | |||
''substituting in values of d1, d2 [mRNA] and [Protein] we find '''k1 {{Equals}} 3*0.23 {{Equals}} 0.69''' and '''k2 {{Equals}} 0.012*500/3 {{Equals}} 2''''' | |||
*2. Using the previously found parameter values, plot on the same graph [mRNA](t) and [protein](t) for t{{Equals}}[0, 5h]. | |||
*3. Parameter scanning: Consider parameter d_2 to vary [-20%, 20%] of its nominal value (10 uniformly spread values). Generate on the same graph the 10 [protein](t) trajectories (t{{Equals}}[0, 5h]). | |||
|}} | |}} | ||
Revision as of 07:00, 9 December 2008
<html> <style type="text/css"> .firstHeading {display: none;} </style> </html> <html> <style type="text/css">
table.calendar { margin:0; padding:2px; }
table.calendar td { margin:0; padding:1px; vertical-align:top; } table.month .heading td { padding:1px; background-color:#FFFFFF; text-align:center; font-size:120%; font-weight:bold; } table.month .dow td { text-align:center; font-size:110%; } table.month td.today { background-color:#3366FF } table.month td {
border:2px; margin:0; padding:0pt 1.5pt; font-size:8pt; text-align:right; background-color:#FFFFFF; }
- bodyContent table.month a { background:none; padding:0 }
.day-active { font-weight:bold; } .day-empty { color:black; } </style> </html>
<html><style type="text/css">
div.Section { font:11pt/16pt Calibri, Verdana, Arial, Geneva, sans-serif; background-image: url(http://openwetware.org/images/a/a0/Background.PNG); background-size: 100%; background-origin: content; } /* Text (paragraphs) */ div.Section p { font:11pt/16pt Calibri, Verdana, Arial, Geneva, sans-serif; text-align:justify; margin-top:0px; margin-left:30px; margin-right:30px; } /* Headings */ div.Section h1 { font:22pt Calibri, Verdana, Arial, Geneva, sans-serif; text-align:left; color:#3366FF; font-weight:bold; } /* Subheadings */ div.Section h2 { font:18pt Calibri, Verdana, Arial, Geneva, sans-serif; color:#3366FF; margin-left:5px; font-weight:bold; } /* Subsubheadings */ div.Section h3 { font:22pt Calibri, Verdana, Arial, sans-serif; color:#E5EBFF; margin-left:10px; font-weight:bold; } /* Subsubsubheadings */ div.Section h4 { font:22pt Calibri, Verdana, Arial, sans-serif; color:#2B48B3; margin-left:10px; font-weight:bold; } /* Subsubsubsubheadings */ div.Section h5 { font:12pt Calibri, Verdana, Arial, sans-serif; color:#3366FF; margin-left:20px; } /* References */ div.Section h6 { font:12pt Calibri, Verdana, Arial, sans-serif; font-weight:bold; font-style:italic; color:#3366FF; margin-left:25px; } /* Hyperlinks */ div.Section a { } div.Section a:hover { } /* Tables */ div.Section td { font:11pt/16pt Calibri, Verdana, Arial, Geneva, sans-serif; text-align:justify; vertical-align:top; padding:2px 4px 2px 4px; } /* Lists */ div.Section li { font:11pt/16pt Calibri, Verdana, Arial, Geneva, sans-serif; text-align:left; margin-top:0px; margin-left:30px; margin-right:0px; } /* TOC stuff */ table.toc { margin-left:10px; } table.toc li { font: 11pt/16pt Calibri, Verdana, Arial, Geneva, sans-serif; text-align: justify; margin-top: 0px; margin-left:2px; margin-right:2px; } /* [edit] links */ span.editsection { color:#BBBBBB; font-size:10pt; font-weight:normal; font-style:normal; vertical-align:bottom; } span.editsection a { color:#BBBBBB; font-size:10pt; font-weight:normal; font-style:normal; vertical-align:bottom; } span.editsection a:hover { color:#3366FF; font-size:10pt; font-weight:normal; font-style:normal; vertical-align:bottom; } /* Drop-down Menu */
margin: 0; padding: 0; z-index: 30 margin: 0; padding: 0; float: center; font: bold 12pt Calibri, Verdana, Arial, Geneva, sans-serif; border: 0px; list-style: none; }
display: block; margin: 0px 0px 0px 0px; padding: 0 0 12px 0; color: #FFFFFF; text-align: center; text-decoration: none; }
border: 0px }
position: absolute; visibility: hidden; margin: 0; padding: 0; background: #66aadd; border: 1px solid #66aadd } #sddm div a { position: relative; left: 0; display: block; margin: 0; padding: 5px 10px; width: auto; white-space: nowrap; text-align: left; text-decoration: none; background: #FFFFFF; color: #2875DE; font: 11pt Calibri, Verdana, Arial, Geneva, sans-serif } #sddm div a:hover { background: #66aadd; color: #FFFFFF } </style></html>
|