Spaces:
Runtime error
Runtime error
Commit ·
a25f5dc
1
Parent(s): eedcce4
try removing pp and delta heatmaps
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ graph_file = hf_hub_download(repo_id="dylanplummer/islet-epigenome", filename=f"
|
|
| 41 |
rna_file = unzip(rna_file)
|
| 42 |
hic_file = unzip(hic_file)
|
| 43 |
|
| 44 |
-
cooler_celltypes = ['Alpha', 'Beta', '
|
| 45 |
cooler_resolutions = ['deeploop', '50kb', '200kb', '500kb']
|
| 46 |
coolers = {}
|
| 47 |
for res in cooler_resolutions:
|
|
@@ -273,8 +273,8 @@ def get_heatmaps(gene, locus1, locus2, heatmap_range):
|
|
| 273 |
res = []
|
| 274 |
for celltype in cooler_celltypes:
|
| 275 |
res.append(get_heatmap(celltype, gene, locus1, locus2, heatmap_range))
|
| 276 |
-
alpha, beta,
|
| 277 |
-
return alpha, beta,
|
| 278 |
|
| 279 |
|
| 280 |
def perturb(gene, locus1, locus2, use_max_gene, tf_knockout):
|
|
|
|
| 41 |
rna_file = unzip(rna_file)
|
| 42 |
hic_file = unzip(hic_file)
|
| 43 |
|
| 44 |
+
cooler_celltypes = ['Alpha', 'Beta', 'Acinar', 'Duct', 'PSC']
|
| 45 |
cooler_resolutions = ['deeploop', '50kb', '200kb', '500kb']
|
| 46 |
coolers = {}
|
| 47 |
for res in cooler_resolutions:
|
|
|
|
| 273 |
res = []
|
| 274 |
for celltype in cooler_celltypes:
|
| 275 |
res.append(get_heatmap(celltype, gene, locus1, locus2, heatmap_range))
|
| 276 |
+
alpha, beta, acinar, duct, psc = res
|
| 277 |
+
return alpha, beta, acinar, duct, psc
|
| 278 |
|
| 279 |
|
| 280 |
def perturb(gene, locus1, locus2, use_max_gene, tf_knockout):
|