Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -98,10 +98,10 @@ def plot_interactive(uniprot_id, show_clinvar=False):
|
|
98 |
return fig
|
99 |
|
100 |
|
101 |
-
selection = st.selectbox("uniprot_id:", df)
|
102 |
uid=df[df.txt==selection].index.values[0]
|
103 |
|
104 |
-
show_clinvar = st.checkbox('show ClinVar annotations (red: pathogenic, green: benign)')
|
105 |
|
106 |
fig = plot_interactive(uid,show_clinvar=show_clinvar)
|
107 |
fig.update_layout(width = 800, height = 600, autosize = False)
|
|
|
98 |
return fig
|
99 |
|
100 |
|
101 |
+
selection = st.selectbox("uniprot_id:", df, index= 6251)
|
102 |
uid=df[df.txt==selection].index.values[0]
|
103 |
|
104 |
+
show_clinvar = st.checkbox('show ClinVar annotations (red: pathogenic, green: benign)',value=False)
|
105 |
|
106 |
fig = plot_interactive(uid,show_clinvar=show_clinvar)
|
107 |
fig.update_layout(width = 800, height = 600, autosize = False)
|