Spaces:
Runtime error
Runtime error
Commit ·
36ab5ef
1
Parent(s): 44a3abc
quickfix
Browse files
app.py
CHANGED
|
@@ -184,7 +184,7 @@ def get_heatmap_locus(gene, locus1, locus2, heatmap_range):
|
|
| 184 |
|
| 185 |
def get_heatmap(celltype, gene, locus1, locus2, heatmap_range):
|
| 186 |
heatmap_locus = get_heatmap_locus(gene, locus1, locus2, heatmap_range)
|
| 187 |
-
c = coolers[
|
| 188 |
mat = c.matrix().fetch(heatmap_locus)
|
| 189 |
#img = draw_heatmap(mat, 0, return_image=True)
|
| 190 |
fig, ax = plt.subplots(figsize=(4, 4))
|
|
|
|
| 184 |
|
| 185 |
def get_heatmap(celltype, gene, locus1, locus2, heatmap_range):
|
| 186 |
heatmap_locus = get_heatmap_locus(gene, locus1, locus2, heatmap_range)
|
| 187 |
+
c = coolers[cooler_celltypes.index(celltype)]
|
| 188 |
mat = c.matrix().fetch(heatmap_locus)
|
| 189 |
#img = draw_heatmap(mat, 0, return_image=True)
|
| 190 |
fig, ax = plt.subplots(figsize=(4, 4))
|