tbaccata / amica

amica: an interactive and user-friendly web-based platform for the analysis of proteomics data
GNU General Public License v3.0
22 stars 5 forks source link

Error while creating a Heatmap in the Differential Abundance tab #26

Open bolak92 opened 1 year ago

bolak92 commented 1 year ago

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

tbaccata commented 1 year ago

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