Spaces:
Sleeping
Sleeping
Commit
·
8fb59d9
1
Parent(s):
89bc41c
Update app.py
Browse files
app.py
CHANGED
@@ -99,6 +99,13 @@ else:
|
|
99 |
input_gene = st.text_input("Input individual HGNC gene:")
|
100 |
df2 = df_total[df_total.index == input_gene]
|
101 |
df2['Gene'] = df2.index
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
st.dataframe(df2)
|
103 |
|
104 |
if input_gene:
|
@@ -121,4 +128,11 @@ Total Gene Prioritisation Results:
|
|
121 |
|
122 |
df_total_output = df_total
|
123 |
df_total_output['Gene'] = df_total_output.index
|
124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
input_gene = st.text_input("Input individual HGNC gene:")
|
100 |
df2 = df_total[df_total.index == input_gene]
|
101 |
df2['Gene'] = df2.index
|
102 |
+
df2.reset_index(drop=True, inplace=True)
|
103 |
+
df2 = df2[['Gene','XGB_Score', 'mousescore_Exomiser',
|
104 |
+
'SDI', 'Liver_GTExTPM', 'pLI_ExAC',
|
105 |
+
'HIPred',
|
106 |
+
'Cells - EBV-transformed lymphocytes_GTExTPM',
|
107 |
+
'Pituitary_GTExTPM',
|
108 |
+
'IPA_BP_annotation']]
|
109 |
st.dataframe(df2)
|
110 |
|
111 |
if input_gene:
|
|
|
128 |
|
129 |
df_total_output = df_total
|
130 |
df_total_output['Gene'] = df_total_output.index
|
131 |
+
df_total_output.reset_index(drop=True, inplace=True)
|
132 |
+
df_total_output = df_total_output[['Gene','XGB_Score', 'mousescore_Exomiser',
|
133 |
+
'SDI', 'Liver_GTExTPM', 'pLI_ExAC',
|
134 |
+
'HIPred',
|
135 |
+
'Cells - EBV-transformed lymphocytes_GTExTPM',
|
136 |
+
'Pituitary_GTExTPM',
|
137 |
+
'IPA_BP_annotation']]
|
138 |
+
st.dataframe(df_total_output)
|