Spaces:
Sleeping
Sleeping
debug
Browse files
app.py
CHANGED
|
@@ -123,9 +123,9 @@ st.write(neighbors)
|
|
| 123 |
|
| 124 |
G = nx.Graph()
|
| 125 |
G.add_weighted_edges_from(
|
| 126 |
-
[neighbors.gene_index_a.to_list(),
|
| 127 |
-
neighbors.gene_index_b.to_list(),
|
| 128 |
-
neighbors.coexp_score.to_list()])
|
| 129 |
layout = nx.spring_layout(G)
|
| 130 |
|
| 131 |
|
|
|
|
| 123 |
|
| 124 |
G = nx.Graph()
|
| 125 |
G.add_weighted_edges_from(
|
| 126 |
+
[neighbors.gene_index_a.to_list()[0:10],
|
| 127 |
+
neighbors.gene_index_b.to_list()[0:10],
|
| 128 |
+
neighbors.coexp_score.to_list()][0:10])
|
| 129 |
layout = nx.spring_layout(G)
|
| 130 |
|
| 131 |
|