Spaces:
Running
Running
trouble with multiple edges
Browse files
app.py
CHANGED
@@ -154,7 +154,12 @@ for i in range(len(neighbors.index)):
|
|
154 |
"data" : {
|
155 |
"source" : edge["gene_id_1"],
|
156 |
"target" : edge["gene_id_2"],
|
157 |
-
"width" :
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
with col3:
|
160 |
st.text('') # help alignment with input box
|
|
|
154 |
"data" : {
|
155 |
"source" : edge["gene_id_1"],
|
156 |
"target" : edge["gene_id_2"],
|
157 |
+
"width" :
|
158 |
+
20 if edge["coexp_score"] > 0.98 else
|
159 |
+
15 if edge["coexp_score"] > 0.93 else
|
160 |
+
10 if edge["coexp_score"] > 0.90 else
|
161 |
+
8 if edge["coexp_score"] > 0.88 else
|
162 |
+
5}})
|
163 |
|
164 |
with col3:
|
165 |
st.text('') # help alignment with input box
|