Tutorials
=========

These tutorials demonstrate how to use LazySlide for various tasks related to whole slide image analysis.

If whole-slide images are new to you, first read the
:doc:`../getting-started/digital-pathology-primer` and complete
:doc:`../getting-started/first-analysis`. Tutorials are longer, explanatory workflows;
for a single practical question, use the :doc:`../how-to/index`.

To get to know more about :code:`wsidata` structures,
please read `wsidata tutorials <https://wsidata.readthedocs.io/en/stable/intro/>`_

.. toctree::
   :maxdepth: 1
   :caption: Getting Started

   intro_wsi
   preprocessing
   visualization

.. toctree::
   :maxdepth: 1
   :caption: Advanced Topics

   cell-segmentation
   feature_extraction
   multiple_slides
   genomics_integration
   zero-shot-learning
   survival_prediction
   build_tile_model
   virtual_staining
   gene_expression_prediction
   image_generation

Choose a tutorial
-----------------

* Start with **Introduction to WSI**, **Preprocessing**, and **Visualization** to learn the core workflow.
* Use **Cell segmentation**, **Feature extraction**, and **Multiple slides** for common research pipelines.
* The remaining tutorials demonstrate specialized downstream or multimodal analyses and may require model downloads, additional data, or GPU resources.
