You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in the generic cell clustering notebook, the heatmap widget shows valued that is scaled/Z scored. This is not informative when working with nimbus output that generates a probability score from 0-1 for each marker.
Describe the solution you'd like
Remove any data transformation from the heatmap widget used for nimbus.
def inverse(self, value):
return value # Return the value as-is
def calibrate(self, values):
pass # Do nothing
def __call__(self, value: np.ndarray, clip=None):
return value # Return the value as-is
`
and
`
def update_gui(self):
"""Update and redraw any updated GUI elements"""
self.im_cs.set_data(self.selection_mask)
self.im_cs.set_extent((0, self.mcd.cluster_count, 0, 1))
if not self._heatmaps_stale:
print("skipping other repaints")
self.fig.canvas.draw()
return
# def _preplot(df):
# return df.apply(zscore).clip(upper=self.zscore_clamp_slider.value).T
def _preplot(df):
return df.T # Avoiding z-score normalization and clipping
Currently in the generic cell clustering notebook, the heatmap widget shows valued that is scaled/Z scored. This is not informative when working with nimbus output that generates a probability score from 0-1 for each marker.
Describe the solution you'd like
Remove any data transformation from the heatmap widget used for nimbus.
@alex-l-kong
The text was updated successfully, but these errors were encountered: