The standard approach assessing dynamic range is to calculate a signal-to-background (SNR) ratio by dividing the average of the top 20 brightest cells by the average intensity of the weakest 10% of cells. An SNR of 10 or more supports reliable image analysis. The recommend SNR range is (10, Inf], typically > 100. Lower than 3 indicates poor-performing antibodies.
dynamicRanges(seu, topN = 20, bottomN = 0.1, layer = "counts", ...)
A list with element brightest, weakest, and dynamic_range. For dynamic ranges, Inf indicates zero background. NaN indicates zero/zero
# example code