Skip to content

hgsc_stroma_nuclei

A GeoDataframe of segmented nuclei of a HGSC stroma.

Note

Pairs with hgsc_stroma_he().

Examples:

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

out

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

    Note:
        Pairs with `hgsc_stroma_he()`.

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