Closed m03077yhtnt closed 7 months ago
Hi @m03077yhtnt , I don't have this error on my end. Please share your sessionInfo() with me. This error normally coming from the R version update, and when a if () statement includes a logical with length greater than one.
Thank you very much for your swift response. My R version is 4.3.0.
> sessionInfo()
R version 4.3.0 (2023-04-21 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22621)
Matrix products: default
Hi @m03077yhtnt, thanks for pointing this out. Turns out R version 4.2.0 is doesn't have this issue. I added some code on the draw_TimeHeatmap_GO() and draw_TimeHeatmap_enrichR() to handle the version problem. You can update your R package and run it without issue.
Thank you so much for your support. Thanks to your help, I have achieved the issue.
I performed the function of "draw_TimeHeatmap_GO function" using my own "master.list" data. The following error comes back; "Error in is.na(t.arr) || is.na(t.unit) : 'length = 4' in coercion to 'logical(1)'"
I also tried it using your demo.master.list as the follows. Then, I got the similar error message. I would be happy if you could let me know how to solve it.