Skip to content

hgsc_cancer_nuclei

A GeoDataframe of segmented nuclei of a HGSC tumor nest.

Note

Pairs with:

  • hgsc_cancer_he()
  • hgsc_cancer_inst_mask()
  • hgsc_cancer_type_mask()

Examples:

>>> from histolytics.data import hgsc_cancer_nuclei
>>> ax = hgsc_cancer_nuclei().plot(column="class_name")
>>> ax.set_axis_off()

out

Source code in src/histolytics/data/fetch.py
def hgsc_cancer_nuclei():
    """A GeoDataframe of segmented nuclei of a HGSC tumor nest.

    Note:
        Pairs with:

        - `hgsc_cancer_he()`
        - `hgsc_cancer_inst_mask()`
        - `hgsc_cancer_type_mask()`

    Examples:
        >>> from histolytics.data import hgsc_cancer_nuclei
        >>> ax = hgsc_cancer_nuclei().plot(column="class_name")
        >>> ax.set_axis_off()
    ![out](../../img/hgsc_crop_nuc.png)
    """
    return _load(BASE_PATH / "hgsc_nest.parquet")