-
Notifications
You must be signed in to change notification settings - Fork 0
/
week5.nb
4707 lines (4641 loc) · 244 KB
/
week5.nb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 10.2' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLength[ 249904, 4698]
NotebookOptionsPosition[ 244084, 4552]
NotebookOutlinePosition[ 247976, 4637]
CellTagsIndexPosition[ 247933, 4634]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData["\[AliasDelimiter]"], "Input",
CellChangeTimes->{3.671825835437674*^9}],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{
RowBox[{"basicTitration1", "[",
RowBox[{"ktit_", ",", "ktat_", ",", "concA_", ",", "concB_", ",",
RowBox[{"tmax_:", "45"}], ",", "title_"}], "]"}], ":=", " ",
"\[IndentingNewLine]",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"a", ",", "b", ",", "c", ",", "ab", ",", "sol", ",", "plotter", ",",
"rsys"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"rsys", "=",
RowBox[{"{", "\[IndentingNewLine]",
RowBox[{
RowBox[{"rxn", "[",
RowBox[{
RowBox[{"a", "+", "b"}], ",", "ab", ",", "ktit"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"a", ",",
RowBox[{"a", "+", "c"}], ",", "ktat"}], "]"}], ",",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"conc", "[",
RowBox[{"a", ",", "concA"}], "]"}], ",", "\[IndentingNewLine]",
RowBox[{"conc", "[",
RowBox[{"b", ",", "concB"}], "]"}]}], "\[IndentingNewLine]", "}"}]}],
";", "\[IndentingNewLine]",
RowBox[{"sol", "=",
RowBox[{"SimulateRxnsys", "[",
RowBox[{"rsys", ",", "tmax"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"plotter", "=",
RowBox[{
RowBox[{"{",
RowBox[{"a", "[", "t", "]"}], "}"}], "/.", "sol"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Show", "[",
RowBox[{"Plot", "[",
RowBox[{"plotter", ",",
RowBox[{"{",
RowBox[{"t", ",", "0", ",", "tmax"}], "}"}], ",",
RowBox[{"PlotRange", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"0", ",", "tmax"}], "}"}], ",",
RowBox[{"{",
RowBox[{"0", ",", "5"}], "}"}]}], "}"}]}], ",",
RowBox[{"PlotStyle", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{", "Red", "}"}], ",",
RowBox[{"{", "Green", "}"}]}], "}"}]}], ",",
RowBox[{"PlotLabel", "\[Rule]", "title"}]}], " ", "]"}], "]"}]}]}],
"\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
RowBox[{"basicTitration1", "[",
RowBox[{"1", ",", "5", ",", "5", ",", "5", ",", "10", ",", "\"\<test\>\""}],
"]"}]}], "Input",
CellChangeTimes->{{3.67174122489182*^9, 3.671741250556922*^9}}],
Cell[BoxData[
GraphicsBox[{{}, {},
{RGBColor[1, 0, 0], AbsoluteThickness[1.6], Opacity[1.],
LineBox[CompressedData["
1:eJwVVnk0FPofHUSyZE2IyCglJRRFuV+kkurFa39KpCx5lehX4pVItiK0Z0uS
hF60GInJVjSWInuNdWyDGWPGzq/3x+fcc889555zz71/fJY5n7U/KUyhUMp/
338Yf8VZzMAlwnxx9uMXs3MKJOEI2/SgpjvSOmci0rMVSNPu8POamr54YSgS
8NRVgVzcfnihqGYYAlblXFNqlCfbSojDmMZD9AdLSV+vkSNujODoUas4sM3C
x2Ri5UhEXUUZ1zURJqxKI/ODv/Xz6cqChmRYzjAKSZcsyQxcH8TReAGXsnuJ
VjKypECsQX34dTpM3q+tDsyTITXhvrmDVhmgWNW86T4kQ0ZiCgb7XV/hjr3V
8oi4hSTOTjtjpCEb1UOXxPW2S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sWmVW7Y0TWK9zmjiGOsjVn64
/7BCexlhHlVQ0NX/iA0nSv+QC1tGFC1zTOYi8kGPW6TM4C8j+WxeI6fjA1bS
F4Xv+UuLfEpIviC66wN2i7LVvxdokSliaUQtyAOnpau4XJdKFq96/jhWNw9n
424phEVRSYdbmnBgKg0MIe3hndFU0mgppUFSaNB1zauQiqWSAGmNJ7NPaOgy
6Ll2+x6VxGp0/fCPp+HQZ8K5H08l+u1Ds//cocFyhMdIfUkl8r5Uk9hAGpR2
HLlR8plK3qy7HSruSIN3JsfpRjmV2Iga69Q60FAjH7Jlx1cqyU/YujLhCA0R
P3NGv1ZRibmmsd2GAzRQvKVP1P6g/s6fZOa2m4b+eDo6Oqkko8TCoc2Mhu0i
B5ekdP/277m66PUmGlLcBgUne6gkqzpSP9CEBkcj1ay+firxG8oNXm5EQ90X
bzUul0pSXX3en9OlwWCtxHg2j0qcss/4bF1JQ2RsUq0Pn0pUiv6OVl5Bg82x
yvDx8d/51ykOfFpGQ2rxiVN5k1RiFBWqc/+/v3rVpIX/NJX0ZD8u9lSnwSny
trr5LJUkLFlfaLmEhgLeiom5OSo5bLNRVUWFhv8DW4tARw==
"]]}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->{True, True},
AxesLabel->{None, None},
AxesOrigin->{0, 0},
DisplayFunction->Identity,
Frame->{{False, False}, {False, False}},
FrameLabel->{{None, None}, {None, None}},
FrameTicks->{{Automatic, Automatic}, {Automatic, Automatic}},
GridLines->{None, None},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
Method->{
"DefaultBoundaryStyle" -> Automatic, "DefaultMeshStyle" ->
AbsolutePointSize[6], "ScalingFunctions" -> None},
PlotLabel->FormBox["\"test\"", TraditionalForm],
PlotRange->{{0, 10}, {0, 5}},
PlotRangeClipping->True,
PlotRangePadding->{{0, 0}, {0, 0}},
Ticks->{Automatic, Automatic}]], "Output",
CellChangeTimes->{{3.671741225919346*^9, 3.6717412513328648`*^9},
3.6742385472481728`*^9}]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{
RowBox[{
RowBox[{"enhancedGRN", "[",
RowBox[{"k1tx_", ",", "k1ctx_", ",",
RowBox[{"tmax_:", "100"}], ",",
RowBox[{"kc_:", "1000"}], ",",
RowBox[{"ktl_:", "1.0"}], ",",
RowBox[{"kpd_:", "1.0"}], ",",
RowBox[{"krd_:", "5.0"}]}], "]"}], ":=", "\[IndentingNewLine]",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"null", ",", "G1", ",", "T1", ",", "R1", ",", "G1c", ",", "T1c", ",",
"C1", ",", "sol", ",", "rsys"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"rsys", "=",
RowBox[{"{", "\[IndentingNewLine]",
RowBox[{"(*", " ",
RowBox[{"Genelet", " ", "R1"}], " ", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"rxn", "[",
RowBox[{"G1", ",",
RowBox[{"G1", "+", "T1"}], ",", "k1tx"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"T1", ",",
RowBox[{"T1", "+", "R1"}], ",", "ktl"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"T1", ",", "null", ",", "krd"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"R1", ",", "null", ",", "kpd"}], "]"}], ",",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*", " ",
RowBox[{"Genelet", " ", "C1"}], " ", "*)"}], "\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"G1c", ",",
RowBox[{"G1c", "+", "T1c"}], ",", "k1ctx"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"T1c", ",",
RowBox[{"T1c", "+", "C1"}], ",", "ktl"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"T1c", ",", "null", ",", "krd"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"C1", ",", "null", ",", "kpd"}], "]"}], ",",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{
RowBox[{"C1", "+", "R1"}], ",", "null", ",", "kc"}], "]"}], ",",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"conc", "[",
RowBox[{"G1", ",", "1"}], "]"}], ",", "\[IndentingNewLine]",
RowBox[{"conc", "[",
RowBox[{"G1c", ",", "1"}], "]"}]}], "\[IndentingNewLine]", "}"}]}],
";", "\[IndentingNewLine]",
RowBox[{"sol", "=",
RowBox[{"SimulateRxnsys", "[",
RowBox[{"rsys", ",", "tmax"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"C1", "[", "t", "]"}], ",",
RowBox[{"R1", "[", "t", "]"}]}], "}"}], "/.", "sol"}], "]"}]}]}],
"\[IndentingNewLine]", "\[IndentingNewLine]", "]"}]}],
"\[IndentingNewLine]"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"enhancedGRNPlot", "[",
RowBox[{"k1tx_", ",", "k1ctx_", ",",
RowBox[{"tmax_:", "100"}], ",",
RowBox[{"kc_:", "1000"}], ",",
RowBox[{"ktl_:", "1.0"}], ",",
RowBox[{"kpd_:", "1.0"}], ",",
RowBox[{"krd_:", "5.0"}]}], "]"}], ":=",
RowBox[{"(", "\[IndentingNewLine]",
RowBox[{
RowBox[{"plotter", "=",
RowBox[{"enhancedGRN", "[",
RowBox[{"k1tx", ",", "k1ctx", ",", "tmax"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Plot", "[",
RowBox[{"plotter", ",",
RowBox[{"{",
RowBox[{"t", ",", "0", ",", "100"}], "}"}], ",",
RowBox[{"PlotRange", "\[Rule]", "All"}], ",",
RowBox[{"PlotStyle", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{", "Red", "}"}], ",",
RowBox[{"{", "Green", "}"}]}], "}"}]}], ",",
RowBox[{"PlotLabel", "\[Rule]", "\"\<R1\>\""}], " ", ",",
RowBox[{"PlotLegends", "\[Rule]",
RowBox[{"{",
RowBox[{"\"\<C1\>\"", ",", "\"\<R1\>\""}], "}"}]}]}], "]"}]}],
")"}]}], "\[IndentingNewLine]",
"\[IndentingNewLine]"}], "\[IndentingNewLine]",
RowBox[{"Directory", "[", "]"}]}], "Input",
CellChangeTimes->{{3.671741276898617*^9, 3.671741501466514*^9}, {
3.67174153405171*^9, 3.671741534723771*^9}, {3.6717417152111177`*^9,
3.671741731503227*^9}, {3.6717423266027*^9, 3.671742377298514*^9}, {
3.671742408746181*^9, 3.6717424512596283`*^9}, {3.6717425054468184`*^9,
3.6717425587193537`*^9}, {3.6717426701724033`*^9, 3.671742696221706*^9}, {
3.671742737526976*^9, 3.671742742541827*^9}, {3.671742845554632*^9,
3.671742854577697*^9}, {3.6717429303019533`*^9, 3.671742939579753*^9}, {
3.671742979783224*^9, 3.671743066163412*^9}, {3.671743945803259*^9,
3.6717439503114643`*^9}, 3.67174418198393*^9, {3.671745012301512*^9,
3.67174506890969*^9}, {3.6717451047773523`*^9, 3.671745278236558*^9}, {
3.671756459184787*^9, 3.671756460254793*^9}, {3.671756592676355*^9,
3.671756611026101*^9}, {3.67175674202987*^9, 3.6717567444471416`*^9}, {
3.6717568209381943`*^9, 3.6717568229312973`*^9}, {3.671756886238368*^9,
3.671756892699781*^9}, {3.671757160257195*^9, 3.671757166910144*^9}, {
3.671757219039729*^9, 3.6717573194027357`*^9}, {3.67175742251331*^9,
3.671757426670635*^9}, {3.6717574629303513`*^9, 3.67175747181633*^9}, {
3.671757509667865*^9, 3.671757539700227*^9}, {3.6717578543034*^9,
3.671757919864859*^9}, {3.671826088853238*^9, 3.671826090164795*^9}, {
3.6742386986703033`*^9, 3.6742387012497673`*^9}, {3.67477717346412*^9,
3.674777246749329*^9}}],
Cell[BoxData["\<\"/Users/albert95/Dropbox/Caltech/Jr 15-16/Bi191/b/packages\"\
\>"], "Output",
CellChangeTimes->{3.674777224013871*^9}]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"plot1", "=",
RowBox[{"Manipulate", "[",
RowBox[{
RowBox[{"enhancedGRNPlot", "[",
RowBox[{"a", ",", "b"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"a", ",", "1", ",", "\"\<k1tx\>\""}], "}"}], ",", "1", ",",
"500"}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"b", ",", "250", ",", "\"\<k1ctx\>\""}], "}"}], ",", "1", ",",
"500"}], "}"}]}], "]"}]}]], "Input",
CellChangeTimes->{{3.671744163935288*^9, 3.671744196286084*^9}, {
3.671744229851314*^9, 3.671744320851254*^9}, {3.6717443811415977`*^9,
3.671744413110462*^9}, {3.671744495025502*^9, 3.6717445147700863`*^9}, {
3.671744674929338*^9, 3.67174468248792*^9}, {3.671745144569334*^9,
3.6717451463198853`*^9}, 3.67174534103979*^9, {3.671756333082881*^9,
3.6717563657132463`*^9}, {3.6717564741662617`*^9, 3.671756527542781*^9}, {
3.6717565604909897`*^9, 3.6717565609849663`*^9}, {3.6717573339557133`*^9,
3.6717573694843082`*^9}, 3.6717575798626623`*^9, {3.674238639302011*^9,
3.674238657036894*^9}, {3.674238724134573*^9, 3.6742387269423227`*^9}, {
3.6742387645368767`*^9, 3.674238770223775*^9}, {3.674238876407427*^9,
3.674238876571107*^9}}],
Cell[BoxData[
TagBox[
StyleBox[
DynamicModuleBox[{$CellContext`a$$ = 354., $CellContext`b$$ =
250.00000000004167`, Typeset`show$$ = True, Typeset`bookmarkList$$ = {},
Typeset`bookmarkMode$$ = "Menu", Typeset`animator$$, Typeset`animvar$$ =
1, Typeset`name$$ = "\"untitled\"", Typeset`specs$$ = {{{
Hold[$CellContext`a$$], 1, "k1tx"}, 1, 500}, {{
Hold[$CellContext`b$$], 250, "k1ctx"}, 1, 500}}, Typeset`size$$ = {
423., {117., 121.}}, Typeset`update$$ = 0, Typeset`initDone$$,
Typeset`skipInitDone$$ = True, $CellContext`a$297033$$ =
0, $CellContext`b$297034$$ = 0},
DynamicBox[Manipulate`ManipulateBoxes[
1, StandardForm,
"Variables" :> {$CellContext`a$$ = 1, $CellContext`b$$ = 250},
"ControllerVariables" :> {
Hold[$CellContext`a$$, $CellContext`a$297033$$, 0],
Hold[$CellContext`b$$, $CellContext`b$297034$$, 0]},
"OtherVariables" :> {
Typeset`show$$, Typeset`bookmarkList$$, Typeset`bookmarkMode$$,
Typeset`animator$$, Typeset`animvar$$, Typeset`name$$,
Typeset`specs$$, Typeset`size$$, Typeset`update$$, Typeset`initDone$$,
Typeset`skipInitDone$$},
"Body" :> $CellContext`enhancedGRNPlot[$CellContext`a$$, \
$CellContext`b$$],
"Specifications" :> {{{$CellContext`a$$, 1, "k1tx"}, 1,
500}, {{$CellContext`b$$, 250, "k1ctx"}, 1, 500}}, "Options" :> {},
"DefaultOptions" :> {}],
ImageSizeCache->{468., {202., 207.}},
SingleEvaluation->True],
Deinitialization:>None,
DynamicModuleValues:>{},
SynchronousInitialization->True,
UndoTrackedVariables:>{Typeset`show$$, Typeset`bookmarkMode$$},
UnsavedVariables:>{Typeset`initDone$$},
UntrackedVariables:>{Typeset`size$$}], "Manipulate",
Deployed->True,
StripOnInput->False],
Manipulate`InterpretManipulate[1]]], "Output",
CellChangeTimes->{{3.6717574303028593`*^9, 3.671757451438171*^9},
3.671773578369553*^9, 3.6742386583557167`*^9, 3.674238727759033*^9,
3.6742387718188963`*^9}],
Cell[BoxData[
RowBox[{"ListAnimate", "[",
TagBox[
StyleBox[
DynamicModuleBox[{$CellContext`a$$ = 1., $CellContext`b$$ = 250,
Typeset`show$$ = True, Typeset`bookmarkList$$ = {},
Typeset`bookmarkMode$$ = "Menu", Typeset`animator$$, Typeset`animvar$$ =
1, Typeset`name$$ = "\"untitled\"", Typeset`specs$$ = {{{
Hold[$CellContext`a$$], 1, "k1tx"}, 1, 500}, {{
Hold[$CellContext`b$$], 250, "k1ctx"}, 1, 500}}, Typeset`size$$ = {
423., {116., 121.}}, Typeset`update$$ = 0, Typeset`initDone$$,
Typeset`skipInitDone$$ = True, $CellContext`a$297064$$ =
0, $CellContext`b$297065$$ = 0},
DynamicBox[Manipulate`ManipulateBoxes[
1, StandardForm,
"Variables" :> {$CellContext`a$$ = 1, $CellContext`b$$ = 250},
"ControllerVariables" :> {
Hold[$CellContext`a$$, $CellContext`a$297064$$, 0],
Hold[$CellContext`b$$, $CellContext`b$297065$$, 0]},
"OtherVariables" :> {
Typeset`show$$, Typeset`bookmarkList$$, Typeset`bookmarkMode$$,
Typeset`animator$$, Typeset`animvar$$, Typeset`name$$,
Typeset`specs$$, Typeset`size$$, Typeset`update$$,
Typeset`initDone$$, Typeset`skipInitDone$$},
"Body" :> $CellContext`enhancedGRNPlot[$CellContext`a$$, \
$CellContext`b$$],
"Specifications" :> {{{$CellContext`a$$, 1, "k1tx"}, 1,
500}, {{$CellContext`b$$, 250, "k1ctx"}, 1, 500}}, "Options" :> {},
"DefaultOptions" :> {}],
ImageSizeCache->{468., {174., 179.}},
SingleEvaluation->True],
Deinitialization:>None,
DynamicModuleValues:>{},
SynchronousInitialization->True,
UndoTrackedVariables:>{Typeset`show$$, Typeset`bookmarkMode$$},
UnsavedVariables:>{Typeset`initDone$$},
UntrackedVariables:>{Typeset`size$$}], "Manipulate",
Deployed->True,
StripOnInput->False],
Manipulate`InterpretManipulate[1]], "]"}]], "Output",
CellChangeTimes->{{3.6717574303028593`*^9, 3.671757451438171*^9},
3.671773578369553*^9, 3.6742386583557167`*^9, 3.674238727759033*^9,
3.674238772169017*^9}],
Cell[BoxData["\<\"plot1.gif\"\>"], "Output",
CellChangeTimes->{{3.6717574303028593`*^9, 3.671757451438171*^9},
3.671773578369553*^9, 3.6742386583557167`*^9, 3.674238727759033*^9,
3.6742387721803913`*^9}]
}, Open ]],
Cell["\<\
Most of these appear to go to s.s. way before 100s. I\[CloseCurlyQuote]ll \
just take the lazy approach and take concentrations to be final at 50s.
\
\>", "Text",
CellChangeTimes->{{3.671773970168091*^9, 3.671774004151968*^9}}],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{
RowBox[{"tmax", "=", "50"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"k1ctx", "=", "250"}], ";"}],
"\[IndentingNewLine]"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"y", "=",
RowBox[{"Table", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"enhancedGRN", "[",
RowBox[{"i", ",", "k1ctx", ",", "tmax"}], "]"}], "[",
RowBox[{"[", "1", "]"}], "]"}], "[",
RowBox[{"[", "0", "]"}], "]"}], "[", "tmax", "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"k1ctx", "-", "100"}], ",",
RowBox[{"k1ctx", "+", "100"}]}], "}"}]}], "]"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"ListPlot", "[", "y", "]"}], "\[IndentingNewLine]",
"\[IndentingNewLine]"}], "\[IndentingNewLine]"}], "Input",
CellChangeTimes->{{3.671757597232106*^9, 3.6717576107163773`*^9}, {
3.671757782666594*^9, 3.671757838708568*^9}, {3.6717579713293333`*^9,
3.6717580020025187`*^9}, {3.671758048861314*^9, 3.671758115406671*^9}, {
3.6717581578902082`*^9, 3.67175820359523*^9}, {3.671758328633497*^9,
3.671758328765914*^9}}],
Cell[BoxData[
GraphicsBox[{{}, {{},
{RGBColor[0.368417, 0.506779, 0.709798], PointSize[0.009166666666666668],
AbsoluteThickness[1.6], PointBox[CompressedData["
1:eJwt1HtUTXkfx/HTxURu3aQUuqhETuk2qPQxTWnqMaLH5FbS6dw6933OSRRO
VGhEZoxLNZT789DFvXKZgxDq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f84P
8KD9SjzLSb9cU0hOVCL65f/anI0n034lms46L1svIGuUWJQ7elyrjpyvhLPZ
7IlBAZ60f/B7zBL+3kJyhRKPpklf9xpNof1KDJhlnflGQG5Uou3nm6fP6sh6
JUZldfxhEzCV9g/uWfjuG1UhmaWCfbtLz10jL9qvwpzXX9zwE5CdVCjfaXP9
ex3ZR4UZ+tCubv9ptF+FD67lc/9dSI5Rocqq9OYZIzbtV6HVp0I2RkCWq3A0
8EBIqo6sUeE1f6PPPX9v2q+CLnNLxIxCcrEKXpZRP9WxfGi/CjnXT4j6/cha
FWJ23vVg88mNKiTdD+xOKCDrVXB7N7Z+ez25S4W2ZQvOalnTab8aiB13/I0f
2UKN4L3GZS58spMatdM9LscWkH3UEDI1v2bVk6FG7pm9RudYvrRfDff4Xv8O
P3KiGlWBCUo7PlmuRsmwtotfFZA1auwekmuRXk/OV4ONadITLD/ar8aGisPN
rX7kCjVM9hyJGM0na9W4eKddiwJyoxrrl/aGMfVkvRql8yobDrL88Q9a7qm1
"]]}, {}}, {}},
AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948],
Axes->{True, True},
AxesLabel->{None, None},
AxesOrigin->{146.875, 0},
DisplayFunction->Identity,
Frame->{{False, False}, {False, False}},
FrameLabel->{{None, None}, {None, None}},
FrameTicks->{{Automatic, Automatic}, {Automatic, Automatic}},
GridLines->{None, None},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
Method->{},
PlotRange->{{150., 350.}, {0, 20.00249956369014}},
PlotRangeClipping->True,
PlotRangePadding->{{
Scaled[0.02],
Scaled[0.02]}, {
Scaled[0.02],
Scaled[0.05]}},
Ticks->{Automatic, Automatic}]], "Output",
CellChangeTimes->{
3.671758081887425*^9, 3.67175811953232*^9, {3.671758195852475*^9,
3.671758206722845*^9}, 3.671758331661594*^9}]
}, Open ]],
Cell[BoxData[
RowBox[{
RowBox[{
RowBox[{"enhancedGRN2", "[",
RowBox[{"k1tx_", ",", "k1ctx_", ",",
RowBox[{"kf_:", "400"}], ",",
RowBox[{"kr_:", "125"}], ",",
RowBox[{"tmax_:", "100"}], ",",
RowBox[{"kc_:", "1000"}], ",",
RowBox[{"ktl_:", "1.0"}], ",",
RowBox[{"kpd_:", "1.0"}], ",",
RowBox[{"krd_:", "5.0"}]}], "]"}], ":=", "\[IndentingNewLine]",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"null", ",", "G1", ",", "T1", ",", "R1", ",", "G1c", ",", "T1c", ",",
"C1", ",", "sol", ",", "rsys", ",", "G1f", ",", "R1G1f"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"rsys", "=",
RowBox[{"{", "\[IndentingNewLine]",
RowBox[{"(*", " ",
RowBox[{"Genelet", " ", "R1"}], " ", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"rxn", "[",
RowBox[{"G1", ",",
RowBox[{"G1", "+", "T1"}], ",", "k1tx"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"T1", ",",
RowBox[{"T1", "+", "R1"}], ",", "ktl"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"T1", ",", "null", ",", "krd"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"R1", ",", "null", ",", "kpd"}], "]"}], ",",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*", " ",
RowBox[{"Genelet", " ", "C1"}], " ", "*)"}], "\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"G1c", ",",
RowBox[{"G1c", "+", "T1c"}], ",", "k1ctx"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"T1c", ",",
RowBox[{"T1c", "+", "C1"}], ",", "ktl"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"T1c", ",", "null", ",", "krd"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{"C1", ",", "null", ",", "kpd"}], "]"}], ",",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*", " ", "Titration", " ", "*)"}], "\[IndentingNewLine]",
RowBox[{"rxn", "[",
RowBox[{
RowBox[{"C1", "+", "R1"}], ",", "null", ",", "kc"}], "]"}], ",",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*", " ",
RowBox[{"\"\<Reporter\>\"", " ", "Gene"}], " ", "*)"}],
"\[IndentingNewLine]",
RowBox[{"revrxn", "[",
RowBox[{
RowBox[{"R1", "+", "G1f"}], ",", "R1G1f", ",", "kf", ",", "kr"}],
"]"}], ",", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"conc", "[",
RowBox[{"G1", ",", "1"}], "]"}], ",", "\[IndentingNewLine]",
RowBox[{"conc", "[",
RowBox[{"G1c", ",", "1"}], "]"}], ",", "\[IndentingNewLine]",
RowBox[{"conc", "[",
RowBox[{"G1f", ",", "1"}], "]"}]}], "\[IndentingNewLine]", "}"}]}],
";", "\[IndentingNewLine]",
RowBox[{"sol", "=",
RowBox[{"SimulateRxnsys", "[",
RowBox[{"rsys", ",", "tmax"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{
RowBox[{"{",
RowBox[{"G1f", "[", "t", "]"}], "}"}], "/.", "sol"}], "]"}]}]}],
"\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
"\[IndentingNewLine]"}]], "Input",
CellChangeTimes->{{3.6717627032672873`*^9, 3.671762990364059*^9}, {
3.671763133634822*^9, 3.671763134072094*^9}, {3.6717631753816967`*^9,
3.671763175530222*^9}, {3.671763231102729*^9, 3.671763266037355*^9}, {
3.6717634693346*^9, 3.671763472350285*^9}, {3.671763566563641*^9,
3.671763659556547*^9}, {3.671763730633479*^9, 3.671763817208316*^9}, {
3.6717638584047947`*^9, 3.671764015607625*^9}, {3.6717640505958147`*^9,
3.671764473327566*^9}, {3.6717645473573017`*^9, 3.671764547466443*^9}, {
3.671764603870582*^9, 3.671764704936318*^9}, {3.671765019021421*^9,
3.671765026242309*^9}, {3.6717723281897182`*^9, 3.671772331071742*^9}, {
3.671772463786805*^9, 3.67177251536129*^9}}],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{
RowBox[{"plotter", "=",
RowBox[{"enhancedGRN2", "[",
RowBox[{"250", ",", "250"}], "]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{"Plot", "[",
RowBox[{"plotter", ",",
RowBox[{"{",
RowBox[{"t", ",", "0", ",", "100"}], "}"}], ",",
RowBox[{"PlotRange", "\[Rule]", "All"}], ",",
RowBox[{"PlotLegends", "\[Rule]",
RowBox[{"{", "\"\<G1f\>\"", "}"}]}]}], "]"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"plotter", "[",
RowBox[{"[", "1", "]"}], "]"}], "[",
RowBox[{"[", "0", "]"}], "]"}], "[", "100", "]"}]}], "Input",
CellChangeTimes->{{3.6717627032672873`*^9, 3.671762990364059*^9}, {
3.671763133634822*^9, 3.671763134072094*^9}, {3.6717631753816967`*^9,
3.671763175530222*^9}, {3.671763231102729*^9, 3.671763266037355*^9}, {
3.6717634693346*^9, 3.671763472350285*^9}, {3.671763566563641*^9,
3.671763659556547*^9}, {3.671763730633479*^9, 3.671763817208316*^9}, {
3.6717638584047947`*^9, 3.671764015607625*^9}, {3.6717640505958147`*^9,
3.671764473327566*^9}, {3.6717645473573017`*^9, 3.671764547466443*^9}, {
3.671764603870582*^9, 3.671764704936318*^9}, {3.671765019021421*^9,
3.67176504550002*^9}, {3.6717726504585657`*^9, 3.671772653344734*^9}, {
3.67177283605693*^9, 3.6717728361432943`*^9}, {3.67177362858121*^9,
3.6717736292353697`*^9}, {3.67177366776661*^9, 3.67177366806068*^9}, {
3.6717742087551928`*^9, 3.671774265290319*^9}, {3.6717746369848127`*^9,
3.671774637943481*^9}}],
Cell[BoxData[
TemplateBox[{Graphics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0.58}, DisplayFunction :>
Identity, Frame -> {{False, False}, {False, False}},
FrameLabel -> {{None, None}, {None, None}},
FrameTicks -> {{Automatic, Automatic}, {Automatic, Automatic}},
GridLines -> {None, None}, GridLinesStyle -> Directive[
GrayLevel[0.5, 0.4]],
Method -> {
"DefaultBoundaryStyle" -> Automatic, "DefaultMeshStyle" ->
AbsolutePointSize[6], "ScalingFunctions" -> None},
PlotRange -> {All, All}, PlotRangeClipping -> True, PlotRangePadding -> {{
Scaled[0.02],
Scaled[0.02]}, {
Scaled[0.05],
Scaled[0.05]}}, Ticks -> {Automatic, Automatic}}],FormBox[
FormBox[
TemplateBox[{"\"G1f\""}, "LineLegend", DisplayFunction -> (FormBox[
StyleBox[
StyleBox[
PaneBox[
TagBox[
GridBox[{{
TagBox[
GridBox[{{
GraphicsBox[{{
Directive[
EdgeForm[
Directive[
Opacity[0.3],
GrayLevel[0]]],
PointSize[0.5],
Opacity[1.],
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6]], {
LineBox[{{0, 10}, {20, 10}}]}}, {
Directive[
EdgeForm[
Directive[
Opacity[0.3],
GrayLevel[0]]],
PointSize[0.5],
Opacity[1.],
RGBColor[0.368417, 0.506779, 0.709798],
AbsoluteThickness[1.6]], {}}}, AspectRatio -> Full,
ImageSize -> {20, 10}, PlotRangePadding -> None,
ImagePadding -> Automatic,
BaselinePosition -> (Scaled[0.1] -> Baseline)], #}},
GridBoxAlignment -> {
"Columns" -> {Center, Left}, "Rows" -> {{Baseline}}},
AutoDelete -> False,
GridBoxDividers -> {
"Columns" -> {{False}}, "Rows" -> {{False}}},
GridBoxItemSize -> {"Columns" -> {{All}}, "Rows" -> {{All}}},
GridBoxSpacings -> {
"Columns" -> {{0.5}}, "Rows" -> {{0.8}}}], "Grid"]}},
GridBoxAlignment -> {"Columns" -> {{Left}}, "Rows" -> {{Top}}},
AutoDelete -> False,
GridBoxItemSize -> {
"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},
GridBoxSpacings -> {"Columns" -> {{1}}, "Rows" -> {{0}}}],
"Grid"], Alignment -> Left, AppearanceElements -> None,
ImageMargins -> {{5, 5}, {5, 5}}, ImageSizeAction ->
"ResizeToFit"], LineIndent -> 0, StripOnInput -> False], {
FontFamily -> "Arial"}, Background -> Automatic, StripOnInput ->
False], TraditionalForm]& ),
InterpretationFunction :> (RowBox[{"LineLegend", "[",
RowBox[{
RowBox[{"{",
RowBox[{"Directive", "[",
RowBox[{
RowBox[{"Opacity", "[", "1.`", "]"}], ",",
InterpretationBox[
ButtonBox[
TooltipBox[
GraphicsBox[{{
GrayLevel[0],
RectangleBox[{0, 0}]}, {
GrayLevel[0],
RectangleBox[{1, -1}]}, {
RGBColor[0.368417, 0.506779, 0.709798],
RectangleBox[{0, -1}, {2, 1}]}}, AspectRatio -> 1, Frame ->
True, FrameStyle ->
RGBColor[
0.24561133333333335`, 0.3378526666666667,
0.4731986666666667], FrameTicks -> None, PlotRangePadding ->
None, ImageSize ->
Dynamic[{
Automatic, 1.35 CurrentValue["FontCapHeight"]/
AbsoluteCurrentValue[Magnification]}]],
"RGBColor[0.368417, 0.506779, 0.709798]"], Appearance ->
None, BaseStyle -> {}, BaselinePosition -> Baseline,
DefaultBaseStyle -> {}, ButtonFunction :>
With[{Typeset`box$ = EvaluationBox[]},
If[
Not[
AbsoluteCurrentValue["Deployed"]],
SelectionMove[Typeset`box$, All, Expression];
FrontEnd`Private`$ColorSelectorInitialAlpha = 1;
FrontEnd`Private`$ColorSelectorInitialColor =
RGBColor[0.368417, 0.506779, 0.709798];
FrontEnd`Private`$ColorSelectorUseMakeBoxes = True;
MathLink`CallFrontEnd[
FrontEnd`AttachCell[Typeset`box$,
FrontEndResource["RGBColorValueSelector"], {
0, {Left, Bottom}}, {Left, Top},
"ClosingActions" -> {
"SelectionDeparture", "ParentChanged",
"EvaluatorQuit"}]]]], BaseStyle -> Inherited, Evaluator ->
Automatic, Method -> "Preemptive"],
RGBColor[0.368417, 0.506779, 0.709798], Editable -> False,
Selectable -> False], ",",
RowBox[{"AbsoluteThickness", "[", "1.6`", "]"}]}], "]"}],
"}"}], ",",
RowBox[{"{", #, "}"}], ",",
RowBox[{"LegendMarkers", "\[Rule]", "None"}], ",",
RowBox[{"LabelStyle", "\[Rule]",
RowBox[{"{", "}"}]}], ",",
RowBox[{"LegendLayout", "\[Rule]", "\"Column\""}]}], "]"}]& ),
Editable -> True], TraditionalForm], TraditionalForm]},
"Legended",
DisplayFunction->(GridBox[{{
TagBox[
ItemBox[
PaneBox[
TagBox[#, "SkipImageSizeLevel"], Alignment -> {Center, Baseline},
BaselinePosition -> Baseline], DefaultBaseStyle -> "Labeled"],
"SkipImageSizeLevel"],
ItemBox[#2, DefaultBaseStyle -> "LabeledLabel"]}},
GridBoxAlignment -> {"Columns" -> {{Center}}, "Rows" -> {{Center}}},
AutoDelete -> False, GridBoxItemSize -> Automatic,
BaselinePosition -> {1, 1}]& ),
Editable->True,
InterpretationFunction->(RowBox[{"Legended", "[",
RowBox[{#, ",",
RowBox[{"Placed", "[",
RowBox[{#2, ",", "After"}], "]"}]}], "]"}]& )]], "Output",
CellChangeTimes->{{3.671765028349074*^9, 3.671765046036004*^9}, {
3.671772650935998*^9, 3.6717726537417717`*^9}, {3.671772834243699*^9,
3.671772836449583*^9}, 3.671773629518222*^9, 3.671773668450643*^9, {
3.6717742097219*^9, 3.671774235928068*^9}, 3.671774266005354*^9,
3.671774638330339*^9}],
Cell[BoxData["0.5834497903110356`"], "Output",
CellChangeTimes->{{3.671765028349074*^9, 3.671765046036004*^9}, {
3.671772650935998*^9, 3.6717726537417717`*^9}, {3.671772834243699*^9,
3.671772836449583*^9}, 3.671773629518222*^9, 3.671773668450643*^9, {
3.6717742097219*^9, 3.671774235928068*^9}, 3.671774266005354*^9,
3.6717746383472033`*^9}]
}, Open ]],
Cell[TextData[StyleBox["Do I need to add more things to the system? Let me \
try to vary the binding rates, to try to get as even error rates, and see if \
I get anything nice:", "Text",
FontWeight->"Plain"]], "Input",
CellChangeTimes->{{3.671764746485417*^9, 3.671764748369081*^9}, {
3.67176487161001*^9, 3.671764940127226*^9}}],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{
RowBox[{
RowBox[{"enhancedGRN2Plot", "[",
RowBox[{"k1tx_", ",", "k1ctx_", ",",
RowBox[{"kf_:", "400"}], ",",
RowBox[{"kr_:", "125"}], ",",
RowBox[{"tmax_:", "100"}], ",",
RowBox[{"kc_:", "1000"}], ",",
RowBox[{"ktl_:", "1.0"}], ",",
RowBox[{"kpd_:", "1.0"}], ",",
RowBox[{"krd_:", "5.0"}]}], "]"}], ":=",
RowBox[{"(", "\[IndentingNewLine]",
RowBox[{
RowBox[{"plotter", "=",
RowBox[{"enhancedGRN2", "[",
RowBox[{
"k1tx", ",", "k1ctx", ",", "kf", ",", "kr", ",", "tmax", ",", "kc",
",", "ktl", ",", "kpd", ",", "krd"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Plot", "[",
RowBox[{"plotter", ",",
RowBox[{"{",
RowBox[{"t", ",", "0", ",", "100"}], "}"}], ",",