Skip to content

Commit 4521ef7

Browse files
committed
fix: use per-group control and min/max for eFP colour scale in relative mode
1 parent 2090db2 commit 4521ef7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Eplant/views/eFP/svg.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ export function useStyles(
139139
tissue.id
140140
} { fill: ${getColor(
141141
tissue.mean,
142-
data,
143-
control ?? 1,
142+
group,
143+
group.control ?? control ?? 1,
144144
theme,
145145
colorMode,
146146
tissue.std,

0 commit comments

Comments
 (0)