Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,13 @@ FREQUENT_CUTOFF = 40
|
|
| 12 |
MEDIUM_CUTOFF = 10
|
| 13 |
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
st.markdown("""
|
| 16 |
<style>
|
| 17 |
.css-13sdm1b.e16nr0p33 {
|
|
@@ -29,6 +36,7 @@ hide_streamlit_style = """
|
|
| 29 |
"""
|
| 30 |
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
| 31 |
|
|
|
|
| 32 |
# read data
|
| 33 |
|
| 34 |
@st.cache_data()
|
|
@@ -105,7 +113,7 @@ options = sorted([x for k,v in pid2name_primary.items() for x in [k,v]])
|
|
| 105 |
|
| 106 |
# layout
|
| 107 |
|
| 108 |
-
st.title("
|
| 109 |
st.write("We screened 407 fully-functionalized small molecule fragments ('Ligands') in HEK293t cells. For {0} of the Ligands, we found at least one protein enriched. In total, we enriched {1} proteins at least once. Query your protein sets of interest and explore them in light of our dataset!".format(len(fid2pid), len(pid2fid)))
|
| 110 |
|
| 111 |
cols = st.columns([1,1,2])
|
|
|
|
| 12 |
MEDIUM_CUTOFF = 10
|
| 13 |
|
| 14 |
|
| 15 |
+
st.set_page_config(
|
| 16 |
+
page_title="Ligand Disovery 2: Explore Protein Sets",
|
| 17 |
+
page_icon=":home:",
|
| 18 |
+
layout="wide", # "centered",
|
| 19 |
+
initial_sidebar_state="expanded"
|
| 20 |
+
)
|
| 21 |
+
|
| 22 |
st.markdown("""
|
| 23 |
<style>
|
| 24 |
.css-13sdm1b.e16nr0p33 {
|
|
|
|
| 36 |
"""
|
| 37 |
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
| 38 |
|
| 39 |
+
|
| 40 |
# read data
|
| 41 |
|
| 42 |
@st.cache_data()
|
|
|
|
| 113 |
|
| 114 |
# layout
|
| 115 |
|
| 116 |
+
st.title("Ligand Discovery 2: Explore Protein-sets")
|
| 117 |
st.write("We screened 407 fully-functionalized small molecule fragments ('Ligands') in HEK293t cells. For {0} of the Ligands, we found at least one protein enriched. In total, we enriched {1} proteins at least once. Query your protein sets of interest and explore them in light of our dataset!".format(len(fid2pid), len(pid2fid)))
|
| 118 |
|
| 119 |
cols = st.columns([1,1,2])
|