Grant commited on
Commit
37ba1ca
·
1 Parent(s): 7a9ae08

add radiobox

Browse files
.ipynb_checkpoints/A0A024R1R8-checkpoint.csv ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ deletion,mutPLL,PLLR,aPLLR,wPLLR
2
+ M1_M1,-19.638535,-3.8691463,3.8691463,-0.06532607996274553
3
+ S2_S2,-15.909301,-0.1399126,0.1399126,-0.00613189358559868
4
+ S3_S3,-15.909301,-0.1399126,0.1399126,-0.00613189358559868
5
+ H4_H4,-16.626198,-0.8568096,0.8568096,-0.01751121121739585
6
+ E5_E5,-13.843869,1.925519,1.925519,0.02665273490406217
7
+ G6_G6,-16.058367,-0.28897858,0.28897858,-0.008498020115352833
8
+ G7_G7,-16.058367,-0.28897858,0.28897858,-0.008498020115352833
9
+ K8_K8,-15.8571825,-0.087794304,0.087794304,-0.005304618960335128
10
+ K9_K9,-15.8571825,-0.087794304,0.087794304,-0.005304618960335128
11
+ K10_K10,-15.8571825,-0.087794304,0.087794304,-0.005304618960335128
12
+ A11_A11,-13.481399,2.2879896,2.2879896,0.03240623691725353
13
+ L12_L12,-12.814552,2.954836,2.954836,0.04299109843042162
14
+ K13_K13,-16.63346,-0.8640709,0.8640709,-0.017626469570492964
15
+ Q14_Q14,-14.192976,1.5764122,1.5764122,0.02111135730667721
16
+ P15_P15,-17.120098,-1.3507099,1.3507099,-0.025350898504257202
17
+ K16_K16,-16.614735,-0.84534645,0.84534645,-0.017329256212900546
18
+ K17_K17,-16.614735,-0.84534645,0.84534645,-0.017329256212900546
19
+ Q18_Q18,-15.470672,0.29871655,0.29871655,0.0008304738809191969
20
+ A19_A19,-16.036806,-0.2674179,0.2674179,-0.008155787274951032
21
+ K20_K20,-17.059467,-1.2900791,1.2900791,-0.024388504879815254
22
+ E21_E21,-18.455173,-2.6857853,2.6857853,-0.04654257117755828
23
+ M22_M22,-17.53161,-1.7622223,1.7622223,-0.03188284096263705
24
+ D23_D23,-20.69428,-4.9248924,4.9248924,-0.08208395422451081
25
+ E24_E24,-20.845133,-5.0757446,5.0757446,-0.08447843364306856
26
+ E25_E25,-20.845133,-5.0757446,5.0757446,-0.08447843364306856
27
+ E26_E26,-20.845133,-5.0757446,5.0757446,-0.08447843364306856
28
+ K27_K27,-18.158382,-2.3889942,2.3889942,-0.041831601706762145
29
+ A28_A28,-17.719706,-1.9503174,1.9503174,-0.03486847735586618
30
+ F29_F29,-20.384663,-4.6152744,4.6152744,-0.07716938285600572
31
+ K30_K30,-16.839594,-1.0702057,1.0702057,-0.020898450461644957
32
+ Q31_Q31,-14.4247265,1.3446617,1.3446617,0.017432778127609738
33
+ K32_K32,-15.348067,0.42132092,0.42132092,0.0027765749938904183
34
+ Q33_Q33,-15.239782,0.52960587,0.52960587,0.0044953837281181686
35
+ K34_K34,-15.483137,0.28625107,0.28625107,0.0006326091667962497
36
+ E35_E35,-17.334656,-1.5652676,1.5652676,-0.028756575451956867
37
+ E36_E36,-17.334656,-1.5652676,1.5652676,-0.028756575451956867
38
+ Q37_Q37,-16.0461,-0.27671242,0.27671242,-0.008303319177930313
39
+ K38_K38,-14.905553,0.86383533,0.86383533,0.00980061339953589
40
+ K39_K39,-14.905553,0.86383533,0.86383533,0.00980061339953589
41
+ L40_L40,-13.750734,2.0186539,2.0186539,0.028131066333679927
42
+ E41_E41,-18.981987,-3.2125988,3.2125988,-0.054904690337559514
43
+ V42_V42,-13.881031,1.8883572,1.8883572,0.026062864632833582
44
+ L43_L43,-15.122784,0.64660454,0.64660454,0.006352505513599949
45
+ K44_K44,-18.883644,-3.114256,3.114256,-0.053343691996165676
46
+ A45_A45,-17.826334,-2.0569458,2.0569458,-0.036560991926798736
47
+ K46_K46,-21.173452,-5.404064,5.404064,-0.08968985506466459
48
+ V47_V47,-14.681125,1.0882635,1.0882635,0.013362965413502292
49
+ V48_V48,-14.681125,1.0882635,1.0882635,0.013362965413502292
50
+ G49_G49,-16.000202,-0.23081398,0.23081398,-0.007574772550946185
51
+ K50_K50,-17.440603,-1.671215,1.671215,-0.030438281713970117
52
+ G51_G51,-15.95657,-0.18718147,0.18718147,-0.00688219306960941
53
+ P52_P52,-16.884882,-1.1154938,1.1154938,-0.021617308968589433
54
+ L53_L53,-19.075872,-3.3064842,3.3064842,-0.056394935127288603
55
+ A54_A54,-16.624151,-0.85476303,0.85476303,-0.01747872573988779
56
+ T55_T55,-16.043066,-0.27367783,0.27367783,-0.008255151056108023
57
+ G56_G56,-16.02993,-0.26054192,0.26054192,-0.00804664454762899
58
+ G57_G57,-16.02993,-0.26054192,0.26054192,-0.00804664454762899
59
+ I58_I58,-17.006613,-1.2372246,1.2372246,-0.023549543959753838
60
+ K59_K59,-17.29965,-1.530262,1.530262,-0.02820093149230596
61
+ K60_K60,-17.29965,-1.530262,1.530262,-0.02820093149230596
62
+ S61_S61,-15.2867985,0.48258972,0.48258972,0.0037490957313113804
63
+ G62_G62,-15.564062,0.20532608,0.20532608,-0.000651914448965174
64
+ K63_K63,-16.790543,-1.0211544,1.0211544,-0.02011985863958088
65
+ K64_K64,-16.790543,-1.0211544,1.0211544,-0.02011985863958088
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -5,7 +5,7 @@ import plotly.express as px
5
 
6
  pllr = pd.read_csv("A0A024R1R8.csv")
7
 
8
- def plot_interactive():
9
 
10
  template='plotly_white'
11
 
@@ -31,6 +31,9 @@ def plot_interactive():
31
  )
32
  return fig
33
 
 
 
 
34
  fig = plot_interactive()
35
  fig.update_layout(width = 800, height = 600, autosize = False)
36
  st.plotly_chart(fig, use_container_width=True)
 
5
 
6
  pllr = pd.read_csv("A0A024R1R8.csv")
7
 
8
+ def plot_interactive(pllr_variant: str):
9
 
10
  template='plotly_white'
11
 
 
31
  )
32
  return fig
33
 
34
+ st.radio("PLLR Transformation", ["PLLR", "aPLLR", "wPLLR"],
35
+ captions=["Raw PLLR", "Absolute Value PLLR", "Weighted PLLR"], index=0)
36
+
37
  fig = plot_interactive()
38
  fig.update_layout(width = 800, height = 600, autosize = False)
39
  st.plotly_chart(fig, use_container_width=True)
app.py CHANGED
@@ -5,7 +5,7 @@ import plotly.express as px
5
 
6
  pllr = pd.read_csv("A0A024R1R8.csv")
7
 
8
- def plot_interactive():
9
 
10
  template='plotly_white'
11
 
@@ -31,6 +31,9 @@ def plot_interactive():
31
  )
32
  return fig
33
 
 
 
 
34
  fig = plot_interactive()
35
  fig.update_layout(width = 800, height = 600, autosize = False)
36
  st.plotly_chart(fig, use_container_width=True)
 
5
 
6
  pllr = pd.read_csv("A0A024R1R8.csv")
7
 
8
+ def plot_interactive(pllr_variant: str):
9
 
10
  template='plotly_white'
11
 
 
31
  )
32
  return fig
33
 
34
+ st.radio("PLLR Transformation", ["PLLR", "aPLLR", "wPLLR"],
35
+ captions=["Raw PLLR", "Absolute Value PLLR", "Weighted PLLR"], index=0)
36
+
37
  fig = plot_interactive()
38
  fig.update_layout(width = 800, height = 600, autosize = False)
39
  st.plotly_chart(fig, use_container_width=True)