scmorph.qc.read_image_qc

Contents

scmorph.qc.read_image_qc#

scmorph.qc.read_image_qc(filename, meta_cols=None, label_col='Image_Metadata_QClabel', sep=',', feature_delim='_')#

Read image metrics from csv file

Note that you will manually have to add a labeled column into the file.

Parameters:
  • filename (str) – Path to .csv file

  • meta_cols (Optional[list[str]] (default: None)) – Names of metadata columns. None for automatic detection.

  • label_col (str (default: 'Image_Metadata_QClabel')) – Column name of column containing labels

  • sep (str (default: ',')) – Column deliminator

  • feature_delim (str (default: '_')) – Character delimiting feature names

Return type:

AnnData

Returns:

adata