tbaccata/amica

Error while creating a Heatmap in the Differential Abundance tab

Opened this issue · 1 comments

Hello,

I encountered an error when trying to generate a heatmap using the "Differential Abundance" tab.

Steps to Reproduce:

  1. Navigate to the Differential Abundance tab.
  2. After running the DE, Go to Heatmap.
  3. Press "Submit" to create a heatmap.

After pressing "Submit", it gave two errors:
a) in the UI:
Error: NA/NaN/Inf in foreign function call (arg 10)

b) in the cmd:
Warning: Error in hclustfun: NA/NaN/Inf in foreign function call (arg 10)
107: %||%
104: modify_list
103: config
101: renderPlotly [\amica\amica/server.R#1571]
100: func
97: shinyRenderWidget
96: func
83: renderFunc
82: output$compareHeatmap
1: runApp

The "Download heatmap data" function appears to work correctly. However, upon inspection of the downloaded data, there are several NA values present in the table. This might be related to the error encountered.

Regards,
Bola

Hey Bola,

I will have a look at this.
In the old code you couldn't skip the imputation step, meaning that there were never NAs in the data.
No I need to think about a work around.

Best,
Sebastian