scallops.reads.decode_max

scallops.reads.decode_max(spots, barcodes=None)

Call reads by assigning the base with the highest intensity.

Parameters:
  • spots (DataArray) – Spots returned from peaks_to_bases containing dimensions (read,t,c)

  • barcodes (DataFrame | None) – Table of designed barcode sequences used for indicating whether a barcode is an exact match. Expected to have column ‘barcode’.

Returns:

The reads data frame

Return type:

DataFrame | DataFrame