From 7df3662cce71cdf9fc5ba5dd34046e0a09ace8e6 Mon Sep 17 00:00:00 2001
From: Aurelien Brionne <aurelien.brionne@inrae.fr>
Date: Tue, 2 Jan 2024 13:22:39 +0100
Subject: [PATCH] correct  GOterms heatmap ICorder viex

---
 R/GOterms_heatmap.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/R/GOterms_heatmap.R b/R/GOterms_heatmap.R
index 5c9b77a..dee567f 100644
--- a/R/GOterms_heatmap.R
+++ b/R/GOterms_heatmap.R
@@ -923,7 +923,7 @@ setMethod(
                 text<-hm$x$data[[i]]$text
 
                 # extract the corresponding row names value
-                text<-row.names(mat)[as.numeric(gsub("^.+ ","",text))]
+                text<-row.names(mat)[as.numeric(gsub("^.+row:[[:space:]]|<br />value.+$","",text))]
 
                 # return values
                 hm$x$data[[i]]$text<-paste(
-- 
GitLab