# API

## Preprocessing

```{eval-rst}
.. module:: troutpy.pp
.. currentmodule:: troutpy

.. autosummary::
    :toctree: generated

    pp.xenium_converter
    pp.cosmx_converter
    pp.create_grid_squares
    pp.aggregate_urna
    pp.compute_extracellular_counts
    pp.define_urna
    pp.define_urna_probability
    pp.define_urna_probability_stainings
    pp.get_transcript_categories
    pp.filter_urna
    pp.segmentation_free_sainsc
    pp.find_optimal_segmentation_free_bin_size
    pp.add_morphological_metrics
    pp.format_adata
```
