.. _sphx_glr_auto_examples_03_quantify:
3. Habitat Quantification
=========================
**Background.** A habitat map is a picture; statistics and prediction models
need numbers. **Purpose.** Each page turns one subject's habitat map into a
row of features (sizes, spatial mixing, fragmentation, network shape,
radiomics, embeddings) that you can join to outcomes downstream.
These metrics are the quantify stages of the
:doc:`complete analysis `
(volume, MSI, ITH, graph). Each page refits a small cohort so it can be
copied on its own, then computes one family from the label map.
Quantify habitats with atomic functions: volume and fractions,
multiregional spatial interaction (MSI, Wu et al. 2018), intratumoral
heterogeneity (ITH), graph topology networks, per-habitat radiomics,
whole-habitat radiomics, and deep-learning masked embeddings.
.. raw:: html
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_quantify/images/thumb/sphx_glr_plot_01_volume_fractions_thumb.png
:alt:
:doc:`/auto_examples/03_quantify/plot_01_volume_fractions`
.. raw:: html
Volume and fractions
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_quantify/images/thumb/sphx_glr_plot_02_msi_thumb.png
:alt:
:doc:`/auto_examples/03_quantify/plot_02_msi`
.. raw:: html
Multiregional spatial interaction (MSI)
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_quantify/images/thumb/sphx_glr_plot_03_ith_thumb.png
:alt:
:doc:`/auto_examples/03_quantify/plot_03_ith`
.. raw:: html
Intratumoral heterogeneity (ITH)
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_quantify/images/thumb/sphx_glr_plot_04_graph_features_thumb.png
:alt:
:doc:`/auto_examples/03_quantify/plot_04_graph_features`
.. raw:: html
Graph features
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_quantify/images/thumb/sphx_glr_plot_05_each_habitat_radiomics_thumb.png
:alt:
:doc:`/auto_examples/03_quantify/plot_05_each_habitat_radiomics`
.. raw:: html
Per-habitat radiomics
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_quantify/images/thumb/sphx_glr_plot_06_whole_habitat_radiomics_thumb.png
:alt:
:doc:`/auto_examples/03_quantify/plot_06_whole_habitat_radiomics`
.. raw:: html
Whole-habitat radiomics
.. raw:: html
.. only:: html
.. image:: /auto_examples/03_quantify/images/thumb/sphx_glr_plot_07_deep_learning_embeddings_thumb.png
:alt:
:doc:`/auto_examples/03_quantify/plot_07_deep_learning_embeddings`
.. raw:: html
Deep-learning habitat embeddings
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/auto_examples/03_quantify/plot_01_volume_fractions
/auto_examples/03_quantify/plot_02_msi
/auto_examples/03_quantify/plot_03_ith
/auto_examples/03_quantify/plot_04_graph_features
/auto_examples/03_quantify/plot_05_each_habitat_radiomics
/auto_examples/03_quantify/plot_06_whole_habitat_radiomics
/auto_examples/03_quantify/plot_07_deep_learning_embeddings