|
37 | 37 | "import anndata as ad\n", |
38 | 38 | "import dask.array as da\n", |
39 | 39 | "import numpy as np\n", |
| 40 | + "import pandas as pd\n", |
| 41 | + "import matplotlib.pyplot as plt\n", |
| 42 | + "\n", |
40 | 43 | "from utils_roi_loading import convert_ROI_table_to_indices, load_label_roi, load_intensity_roi, prepare_feature_vis" |
41 | 44 | ] |
42 | 45 | }, |
|
246 | 249 | "id": "b6a8391f-de20-4856-8244-47997a486391", |
247 | 250 | "metadata": {}, |
248 | 251 | "outputs": [], |
249 | | - "source": [ |
250 | | - "import pandas as pd\n", |
251 | | - "import napari\n", |
252 | | - "from pathlib import Path\n", |
253 | | - "import matplotlib.pyplot as plt\n", |
254 | | - "import numpy as np" |
255 | | - ] |
| 252 | + "source": [] |
256 | 253 | }, |
257 | 254 | { |
258 | 255 | "cell_type": "code", |
|
409 | 406 | "execution_count": 11, |
410 | 407 | "id": "3d843d31-3f25-4553-b8b2-a447bc95e88e", |
411 | 408 | "metadata": {}, |
412 | | - "outputs": [], |
| 409 | + "outputs": [ |
| 410 | + { |
| 411 | + "name": "stderr", |
| 412 | + "output_type": "stream", |
| 413 | + "text": [ |
| 414 | + "no parent found for <ome_zarr.reader.Label object at 0x2a9c7da60>: None\n" |
| 415 | + ] |
| 416 | + } |
| 417 | + ], |
413 | 418 | "source": [ |
414 | 419 | "colors, label_properties = prepare_feature_vis(feature_df, feature='area')\n", |
415 | 420 | "label_layer.properties = label_properties\n", |
|
423 | 428 | "metadata": {}, |
424 | 429 | "outputs": [], |
425 | 430 | "source": [] |
| 431 | + }, |
| 432 | + { |
| 433 | + "cell_type": "markdown", |
| 434 | + "id": "ecd035fb-92e6-47b1-aeca-622670fa9f98", |
| 435 | + "metadata": {}, |
| 436 | + "source": [ |
| 437 | + "# 3D example" |
| 438 | + ] |
| 439 | + }, |
| 440 | + { |
| 441 | + "cell_type": "code", |
| 442 | + "execution_count": null, |
| 443 | + "id": "8e76c1b4-21dc-46b2-95b1-4f5c9cdf0272", |
| 444 | + "metadata": {}, |
| 445 | + "outputs": [], |
| 446 | + "source": [ |
| 447 | + "zarr_url = Path('/Users/joel/Desktop/20220928_2x2_Zenodo/20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr')" |
| 448 | + ] |
426 | 449 | } |
427 | 450 | ], |
428 | 451 | "metadata": { |
|
0 commit comments