Skip to content

Commit 54ec209

Browse files
committed
Merge branch 'u/morriscb/notebookCodeOceanCompat'
2 parents b067b89 + 205b71b commit 54ec209

18 files changed

+1679
-957
lines changed

intro.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Available notebooks:
5959

6060
## Release Notes
6161
* **[abc_atlas_access (v0.1.2)]**
62+
* Add matplotlib magic.
63+
* Fixed bugs in pathlib import in notebooks
6264
* Added script for selecting genes from expression matrices for use on
6365
CodeOcean.
6466
* **[abc_atlas_access (v0.1.1)]**

notebooks/10x_snRNASeq_tutorial_part_1.ipynb

Lines changed: 91 additions & 90 deletions
Large diffs are not rendered by default.

notebooks/10x_snRNASeq_tutorial_part_2a.ipynb

Lines changed: 36 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"IPython magic command to render matplotlib plots."
8+
]
9+
},
10+
{
11+
"cell_type": "code",
12+
"execution_count": 1,
13+
"metadata": {},
14+
"outputs": [],
15+
"source": [
16+
"%matplotlib inline"
17+
]
18+
},
319
{
420
"cell_type": "markdown",
521
"metadata": {},
@@ -15,11 +31,10 @@
1531
},
1632
{
1733
"cell_type": "code",
18-
"execution_count": 1,
34+
"execution_count": 2,
1935
"metadata": {},
2036
"outputs": [],
2137
"source": [
22-
"import os\n",
2338
"import pandas as pd\n",
2439
"from pathlib import Path\n",
2540
"import numpy as np\n",
@@ -42,7 +57,7 @@
4257
},
4358
{
4459
"cell_type": "code",
45-
"execution_count": 2,
60+
"execution_count": 3,
4661
"metadata": {},
4762
"outputs": [
4863
{
@@ -51,7 +66,7 @@
5166
"'releases/20240330/manifest.json'"
5267
]
5368
},
54-
"execution_count": 2,
69+
"execution_count": 3,
5570
"metadata": {},
5671
"output_type": "execute_result"
5772
}
@@ -68,7 +83,7 @@
6883
},
6984
{
7085
"cell_type": "code",
71-
"execution_count": 3,
86+
"execution_count": 4,
7287
"metadata": {},
7388
"outputs": [],
7489
"source": [
@@ -89,7 +104,7 @@
89104
},
90105
{
91106
"cell_type": "code",
92-
"execution_count": 4,
107+
"execution_count": 5,
93108
"metadata": {},
94109
"outputs": [
95110
{
@@ -255,7 +270,7 @@
255270
" WMB-10Xv3-TH 130454"
256271
]
257272
},
258-
"execution_count": 4,
273+
"execution_count": 5,
259274
"metadata": {},
260275
"output_type": "execute_result"
261276
}
@@ -281,7 +296,7 @@
281296
},
282297
{
283298
"cell_type": "code",
284-
"execution_count": 5,
299+
"execution_count": 6,
285300
"metadata": {},
286301
"outputs": [
287302
{
@@ -290,7 +305,7 @@
290305
"['WMB-10XMulti/log2', 'WMB-10XMulti/raw']"
291306
]
292307
},
293-
"execution_count": 5,
308+
"execution_count": 6,
294309
"metadata": {},
295310
"output_type": "execute_result"
296311
}
@@ -301,7 +316,7 @@
301316
},
302317
{
303318
"cell_type": "code",
304-
"execution_count": 6,
319+
"execution_count": 7,
305320
"metadata": {},
306321
"outputs": [
307322
{
@@ -319,7 +334,7 @@
319334
},
320335
{
321336
"cell_type": "code",
322-
"execution_count": 7,
337+
"execution_count": 8,
323338
"metadata": {},
324339
"outputs": [],
325340
"source": [
@@ -329,7 +344,7 @@
329344
},
330345
{
331346
"cell_type": "code",
332-
"execution_count": 8,
347+
"execution_count": 9,
333348
"metadata": {},
334349
"outputs": [
335350
{
@@ -420,7 +435,7 @@
420435
"ENSMUSG00000100241 Slc18a3"
421436
]
422437
},
423-
"execution_count": 8,
438+
"execution_count": 9,
424439
"metadata": {},
425440
"output_type": "execute_result"
426441
}
@@ -436,46 +451,46 @@
436451
},
437452
{
438453
"cell_type": "code",
439-
"execution_count": 9,
454+
"execution_count": 10,
440455
"metadata": {},
441456
"outputs": [
442457
{
443458
"name": "stdout",
444459
"output_type": "stream",
445460
"text": [
446461
"WMB-10XMulti\n",
447-
" - time taken: 0.1000140000000016\n",
462+
" - time taken: 0.1458529999999989\n",
448463
"WMB-10Xv2-CTXsp\n"
449464
]
450465
},
451466
{
452467
"name": "stderr",
453468
"output_type": "stream",
454469
"text": [
455-
"WMB-10Xv2-CTXsp-log2.h5ad: 100%|██████████| 1.74G/1.74G [01:09<00:00, 24.9MMB/s] \n"
470+
"WMB-10Xv2-CTXsp-log2.h5ad: 100%|███████████████████████████████████████████████████████████████████████████████████████| 1.74G/1.74G [01:08<00:00, 25.3MMB/s]\n"
456471
]
457472
},
458473
{
459474
"name": "stdout",
460475
"output_type": "stream",
461476
"text": [
462-
" - time taken: 2.0210620000000006\n",
477+
" - time taken: 2.472235999999995\n",
463478
"WMB-10Xv2-HPF\n"
464479
]
465480
},
466481
{
467482
"name": "stderr",
468483
"output_type": "stream",
469484
"text": [
470-
"WMB-10Xv2-HPF-log2.h5ad: 100%|██████████| 6.10G/6.10G [04:48<00:00, 21.2MMB/s] \n"
485+
"WMB-10Xv2-HPF-log2.h5ad: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 6.10G/6.10G [04:05<00:00, 24.8MMB/s]\n"
471486
]
472487
},
473488
{
474489
"name": "stdout",
475490
"output_type": "stream",
476491
"text": [
477-
" - time taken: 6.7627419999999745\n",
478-
"total time taken: 140.118578\n"
492+
" - time taken: 9.844729000000001\n",
493+
"total time taken: 114.037751\n"
479494
]
480495
}
481496
],
@@ -517,7 +532,7 @@
517532
},
518533
{
519534
"cell_type": "code",
520-
"execution_count": 10,
535+
"execution_count": 11,
521536
"metadata": {},
522537
"outputs": [
523538
{

notebooks/10x_snRNASeq_tutorial_part_2b.ipynb

Lines changed: 59 additions & 45 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)