Skip to content

Project Related Metadata

Sophia Mädler edited this page Feb 11, 2025 · 2 revisions

Metadata tracked as attribute of scPortrait Project:

  • extraction of single-cell image datasets

Metadata tracked in spatialdata object:

  • presence of an input image
  • presence of cytosol and/or nuclear segmentation masks
  • presence of calculate mask centers
sdata.attrs["project_status"] = {"input_images": False,
                                             "nucleus_segmentation": True,
                                             "cytosol_segmentation": False,
                                             "centers": {"nucleus_segmentation":True, "cytosol_segmentation:np.NaN}
      }

Design Principles:

  • one segmentation is generated per project. This can include multiple segmentation masks. a different segmentation on the same input data should be run in a second project
  • one extracted single-cell image dataset should be attributed to each project. Subsets of this dataset can be generated (as many as desired) but they contain identical information for the same cell to the main single-cell image dataset
  • multiple featurizations of the same single-cell image dataset can be added

Clone this wiki locally