Skip to content

Commit 2ceace3

Browse files
committed
Fix TermTypes.DNA_METHYLATION → DNA_METHYLATION
1 parent 53ca399 commit 2ceace3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/plots/volcano/view/DataPointMouseEvents.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class DataPointMouseEvents {
2626
circle.attr('fill-opacity', 0)
2727
})
2828
circle.on('click', async () => {
29-
if (termType === TermTypes.DNA_METHYLATION) {
29+
if (termType === DNA_METHYLATION) {
3030
// For DM, launch GPDM probe-level analysis
3131
const geneName = d.gene_name?.split(',')[0]?.trim()
3232
if (geneName) {
@@ -55,7 +55,7 @@ export class DataPointMouseEvents {
5555
this.addTooltipRow(table, 'log<sub>2</sub>(fold-change)', roundValueAuto(d.fold_change))
5656
this.addTooltipRow(table, 'Original p-value', roundValueAuto(d.original_p_value))
5757
this.addTooltipRow(table, 'Adjusted p-value', roundValueAuto(d.adjusted_p_value))
58-
if (this.termType === TermTypes.DNA_METHYLATION && d.gene_name) {
58+
if (this.termType === DNA_METHYLATION && d.gene_name) {
5959
this.addTooltipRow(table, '', 'Click for probe-level GP analysis')
6060
}
6161
}

0 commit comments

Comments
 (0)