From ac43c4ddf50e99b8541b9c75285e4b4920c5ac4a Mon Sep 17 00:00:00 2001 From: Chirag Parsania Date: Thu, 10 Oct 2024 14:18:43 +1100 Subject: [PATCH] bug fix --- R/rnaseq_related.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/rnaseq_related.R b/R/rnaseq_related.R index 88188ba..0acc1a3 100644 --- a/R/rnaseq_related.R +++ b/R/rnaseq_related.R @@ -1685,7 +1685,7 @@ enrichMsigDB <- function(gene_list, msigdb_t2g <- dplyr::bind_rows(msigdb_t2g,tibble::tibble(gs_name = "UN_ANNOTATED", - entrez_gene = bg_to_entrez$ENTREZID[!bg_to_entrez$ENTREZID %in% msigdb_t2g$entrez_gene] %>% as.numeric())) + entrez_gene = bg_to_entrez$ENTREZID[bg_to_entrez$ENTREZID %in% msigdb_t2g$entrez_gene] %>% as.numeric())) }