|
4 | 4 |
|
5 | 5 | **A Python library for scalable panoptic spatial analysis of histological WSIs** |
6 | 6 |
|
7 | | -[](https://github.com/HautaniemiLab/histolytics/blob/main/.github/workflows/tests.yml) [](https://github.com/HautaniemiLab/histolytics/blob/main/LICENSE) [](https://www.python.org/) [](https://pypi.org/project/histolytics/) |
8 | | - |
| 7 | +[](https://github.com/HautaniemiLab/histolytics/blob/main/.github/workflows/tests.yml) [](https://github.com/HautaniemiLab/histolytics/blob/main/LICENSE) [](https://www.python.org/) |
| 8 | +[](https://pypi.org/project/histolytics/) [](https://huggingface.co/histolytics-hub) |
9 | 9 | </div> |
10 | 10 |
|
11 | 11 | ## Introduction |
12 | 12 |
|
13 | | -**histolytics** is a spatial analysis library for histological whole slide images (WSI) library built upon [`torch`](https://pytorch.org/), [`geopandas`](https://geopandas.org/en/stable/index.html) and [`libpysal`](https://pysal.org/libpysal/). The library contains multi-task encoder-decoder architectures for **panoptic segmentation** of WSIs into [`__geo_interface__`](https://gist.github.com/sgillies/2217756)-format and a wide array of spatial analysis tools for the resulting segmentation masks. |
| 13 | +**histolytics** is a spatial analysis library for histological whole slide images (WSI). Built upon [`torch`](https://pytorch.org/), [`geopandas`](https://geopandas.org/en/stable/index.html) and [`libpysal`](https://pysal.org/libpysal/), the library provides a comprehensive and scalable framework for **panoptic segmentation** and **interpretable panoptic spatial analysis** of routine histopathology slides. |
| 14 | + |
14 | 15 |
|
15 | | -## Features 🌟 |
16 | | -- WSI-level panoptic segmentation |
17 | | -- Several panoptic segmentation models for histological WSIs |
| 16 | +## Panoptic Segmentation Features 🌟 |
| 17 | +- Fast WSI-level panoptic segmentation. See [example](https://hautaniemilab.github.io/histolytics/user_guide/seg/panoptic_segmentation/). |
| 18 | +- Low memory-footprint segmentation results with [`__geo_interface__`](https://gist.github.com/sgillies/2217756)-specification. |
| 19 | +- Multiple vectorized segmentation output formats (geojson/feather/parquet). |
| 20 | +- Several panoptic segmentation model architectures for histological WSIs with flexible backbone support: See [example](https://hautaniemilab.github.io/histolytics/user_guide/seg/backbones/) |
18 | 21 | - Pre-trained models in model-hub. See: [histolytics-hub](https://huggingface.co/histolytics-hub) |
19 | | -- Versatile spatial analysis tools for segmented WSIs |
| 22 | + |
| 23 | +## Spatial Analysis Features 📊 |
| 24 | +- Fast Spatial Querying of WSI-scale panoptic segmentation maps. See [example](https://hautaniemilab.github.io/histolytics/user_guide/spatial/querying/) |
| 25 | +- Spatial indexing/partitioning for localized spatial statistics and analysis. See [example](https://hautaniemilab.github.io/histolytics/user_guide/spatial/partitioning/) |
| 26 | +- Graph-based neighborhood analysis for local cell neighborhoods. See [example](https://hautaniemilab.github.io/histolytics/user_guide/spatial/nhoods/) |
| 27 | +- Plotting utilities for spatial data visualization. See [example](https://hautaniemilab.github.io/histolytics/user_guide/spatial/legendgram/) |
| 28 | +- Spatial clustering and cluster centrography metrics. See [example](https://hautaniemilab.github.io/histolytics/user_guide/spatial/clustering/) |
| 29 | +- Large set of morphological, intensity, chromatin distribution, and textural features at nuclear level. See [example](https://hautaniemilab.github.io/histolytics/user_guide/spatial/nuclear_features/) |
| 30 | +- Large set of collagen fiber and intensity based features to characterize stroma and ECM. See [example](https://hautaniemilab.github.io/histolytics/user_guide/spatial/stromal_features/) |
| 31 | + |
| 32 | +## Example Workflows 🧪 |
| 33 | +- Immuno-oncology Profiling: |
| 34 | + - [Spatial Statistics of TILs](https://hautaniemilab.github.io/histolytics/user_guide/workflows/TIL_workflow/). |
| 35 | + - [Profiling TLS and Lymphoid Aggregates](https://hautaniemilab.github.io/histolytics/user_guide/workflows/tls_lymphoid_aggregate/). |
| 36 | +- Nuclear Pleomorphism: |
| 37 | + - [Nuclear Morphology Analysis](https://hautaniemilab.github.io/histolytics/user_guide/workflows/nuclear_morphology/). |
| 38 | + - [Nuclear Chromatin Distribution Analysis](https://hautaniemilab.github.io/histolytics/user_guide/workflows/chromatin_patterns/). |
| 39 | +- TME Characterization: |
| 40 | + - [Collagen Fiber Disorder Analysis](https://hautaniemilab.github.io/histolytics/user_guide/workflows/collagen_orientation/). |
| 41 | + - [Characterization of Desmoplastic Stroma](https://hautaniemilab.github.io/histolytics/user_guide/workflows/clustering_desmoplasia/). |
| 42 | +- Nuclei Neighborhoods: |
| 43 | + - [Tumor Cell Accessibility](https://hautaniemilab.github.io/histolytics/user_guide/workflows/tumor_cell_accessibility/). |
| 44 | + |
20 | 45 |
|
21 | 46 | ## Installation 🛠️ |
22 | 47 |
|
23 | 48 | ```shell |
24 | 49 | pip install histolytics |
25 | 50 | ``` |
26 | 51 |
|
27 | | -## Getting started with Histolytics |
28 | | - |
29 | | -- [Segmentation Quick Start](https://hautaniemilab.github.io/histolytics/user_guide/seg/getting_started_seg/) |
30 | | -- [API Reference](https://hautaniemilab.github.io/histolytics/api/) |
31 | | - |
32 | | - |
33 | 52 | ## Models 🤖 |
34 | 53 |
|
35 | 54 | - Panoptic [HoVer-Net](https://www.sciencedirect.com/science/article/abs/pii/S1361841519301045) |
|
0 commit comments