# Utility
The utility module is collection of functions useful for
the analysis.


## Transfer between Python and R
```{eval-rst}
.. module:: dotools_py.utility
.. currentmodule:: dotools_py

.. autosummary::
    :toctree: generated

    utility.save_rds
    utility.read_rds
```

## General
```{eval-rst}
.. autosummary::
    :toctree: generated

    utility.free_memory
    utility.transfer_labels
    utility.add_gene_metadata
```

## Plotting
```{eval-rst}
.. autosummary::
    :toctree: generated

    utility.generate_cmap
    utility.extended_tab20
    utility.get_hex_colormaps
    utility.spine_format
```

## Spatial
```{eval-rst}
.. autosummary::
    :toctree: generated

    utility.select_slide
    utility.add_smooth_kernel
```
