omicverse.io.read_nanostring¶
- omicverse.io.read_nanostring(path, *, counts_file, meta_file, fov_file=None)[source]¶
Read Nanostring formatted dataset.
This follows the Squidpy nanostring reader layout: -
obsm['spatial']: local cell center coordinates. -obsm['spatial_fov']: global cell center coordinates. -uns['spatial'][fov]['images']: hires and segmentation images fromCellCompositeandCellLabels.uns['spatial'][fov]['metadata']: optional FOV-level metadata.If geometry-like columns exist in metadata, writes
obs['geometry']as WKT strings to matchread_visium_hd_segformat forov.pl.spatialseg.
- Return type: