Spaces:
Runtime error
Runtime error
undebug
Browse files
app.py
CHANGED
@@ -143,8 +143,6 @@ node_info = pd.DataFrame({
|
|
143 |
"gene_product": gene_products,
|
144 |
"description": description})
|
145 |
|
146 |
-
st.write(node_info)
|
147 |
-
|
148 |
neighbors = neighbors.merge(
|
149 |
right = node_info,
|
150 |
left_on = "gene_id_1",
|
@@ -213,10 +211,10 @@ for i in range(len(neighbors.index)):
|
|
213 |
"source" : edge["gene_id_1"],
|
214 |
"target" : edge["gene_id_2"],
|
215 |
"width" :
|
216 |
-
20 if edge["coexp_score"] > 0.
|
217 |
-
15 if edge["coexp_score"] > 0.
|
218 |
-
10 if edge["coexp_score"] > 0.
|
219 |
-
8 if edge["coexp_score"] > 0.
|
220 |
5}})
|
221 |
|
222 |
with col3:
|
|
|
143 |
"gene_product": gene_products,
|
144 |
"description": description})
|
145 |
|
|
|
|
|
146 |
neighbors = neighbors.merge(
|
147 |
right = node_info,
|
148 |
left_on = "gene_id_1",
|
|
|
211 |
"source" : edge["gene_id_1"],
|
212 |
"target" : edge["gene_id_2"],
|
213 |
"width" :
|
214 |
+
20 if edge["coexp_score"] > 0.99 else
|
215 |
+
15 if edge["coexp_score"] > 0.96 else
|
216 |
+
10 if edge["coexp_score"] > 0.94 else
|
217 |
+
8 if edge["coexp_score"] > 0.89 else
|
218 |
5}})
|
219 |
|
220 |
with col3:
|