muspan.io#

The muspan.io module provides tools for reading and writing data to and from the MuSpAn package. This module includes the following submodules:

MuSpAn domain input/output

save_domain

Save a domain object to a file.

load_domain

Load a domain object from a file.

domain_to_csv

Export a domain object as a CSV file.

Helper input methods for specific platforms

qupath_to_domain

Import a QuPath GeoJSON file to a muspan domain.

xenium_to_domain

The function will take a xenium dataset and produce a muspan domain loaded with cell and transcript objects from an xenium output.

spatialdata_to_domain

Import a SpatialData object as a MuSpAn domain.