ovrlpy.io.read_CosMx

ovrlpy.io.read_CosMx(filepath, scale={'xy': 0.12028, 'z': 0.8}, *, remove_targets=COSMX_CTRLS)

Read a Nanostring CosMx transcripts file.

Parameters:
  • filepath (PathLike or str) – Path to the CosMx transcripts file.

  • scale (Mapping[str, float]) – The factors for scaling the coordinates from pixel space to um.

  • remove_targets (Collection[str], optional) – List of regex patterns to filter the ‘target’ column, ovrlpy.io.COSMX_CTRLS by default.

Return type:

DataFrame