Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Nimbus: marker positivity per cell

What it does

Nimbus gives every cell a score between 0 and 1 for every marker. A score near 1 means the model sees the marker as positive in that cell. You do not set a threshold per marker.

Parameters

How it works

For each marker, Nimbus takes that channel and a mask of the cells, and predicts for every pixel how likely the marker is positive. A cell’s score is the mean over its pixels.

Each channel is first divided by its 0.999 quantile, then clipped to 0 to 1. The quantile is taken per image, or per core on a tissue microarray. Per core keeps differences between patients, but a core with no positive cells can score noise as signal.

Large images are cut into tiles with a margin of surrounding context, so memory does not grow with the image. Tiling can shift scores: on a test crop at 0.65 µm/px, tiled and whole-image scores differed by up to 0.41 (mean 0.011), while a crop at 1 µm/px showed no difference. Scoring the whole image at once matched the Nimbus authors’ own code to within 1e-6 at both pixel sizes. Test-time augmentation, which averages the model’s answer over flipped copies of the input, is always on, with the same setting on CPU and GPU. We have not yet compared CPU and GPU scores.

Inputs and outputs.

InOut
The full image, one marker at a timeA table {method}_nimbus in the store, in tables/.
The cells of one segmentation methodOne row per cell, one column per marker, values 0 to 1.
pixel_sizeA JSON file of settings in learned_features/.

A column is empty (NaN) for a marker with no signal anywhere in the image. See The SpatialData store.

Open points

Read more

Version used:

ModuleToolVersionContainerPaper
NIMBUSNimbusdocker.io/josenimo/nimbus:0.0.5Rumberger et al. (2025)
References
  1. Rumberger, J. L., Greenwald, N. F., Ranek, J. S., Boonrat, P., Walker, C., Franzen, J., Varra, S. R., Kong, A., Sowers, C., Liu, C. C., Averbukh, I., Piyadasa, H., Vanguri, R., Nederlof, I., Wang, X. J., Van Valen, D., Kok, M., Bendall, S. C., Hollmann, T. J., … Angelo, M. (2025). Automated classification of cellular expression in multiplexed imaging data with Nimbus. Nature Methods, 22(10), 2161–2170. 10.1038/s41592-025-02826-9