{ "cells": [ { "cell_type": "markdown", "id": "8ce6b74e-54af-48ba-abf2-7ce2caa573bf", "metadata": {}, "source": [ "# Xenium Viz" ] }, { "cell_type": "code", "execution_count": null, "id": "56843452-1a1c-4ae7-95ad-0a7bd909bc90", "metadata": {}, "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2\n", "%env ANYWIDGET_HMR=1" ] }, { "cell_type": "code", "execution_count": null, "id": "cec165b0-bd8f-40d5-b130-22486970aca8", "metadata": {}, "outputs": [], "source": [ "import celldega as dega" ] }, { "cell_type": "code", "execution_count": null, "id": "b66e327c-8c1e-41b7-9fbc-48d3f5c06fe3", "metadata": {}, "outputs": [], "source": [ "sample = \"WTA_Preview_FFPE_Cervical_Cancer_outs\"\n", "path_dega_files = f\"../data/processed_data/DegaFiles/{sample}\"\n", "\n", "landscape_ist = dega.viz.Landscape(\n", " technology=\"Xenium\",\n", " base_url=f\"http://localhost:{dega.viz.get_local_server()}/{path_dega_files}\",\n", ")\n", "\n", "landscape_ist" ] }, { "cell_type": "code", "execution_count": null, "id": "c8cd7207-7604-49bb-9172-d92af31ad74b", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.1" }, "toc": { "base_numbering": 1, "nav_menu": {}, "number_sections": true, "sideBar": true, "skip_h1_title": false, "title_cell": "Table of Contents", "title_sidebar": "Contents", "toc_cell": false, "toc_position": {}, "toc_section_display": true, "toc_window_display": false }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": {}, "version_major": 2, "version_minor": 0 } } }, "nbformat": 4, "nbformat_minor": 5 }