From 39f86d620771d4e6c98c60fbc14fa8ecbb635567 Mon Sep 17 00:00:00 2001 From: Chirag Parsania Date: Thu, 10 Oct 2024 14:29:03 +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 e9cf04b..6e4dc37 100644 --- a/R/rnaseq_related.R +++ b/R/rnaseq_related.R @@ -1687,7 +1687,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())) - msigdb_t2g <- msigdb_t2g %>% dplyr::filter(entrez_gene %>% dplyr::filter(bg_to_entrez$ENTREZID)) + msigdb_t2g <- msigdb_t2g %>% dplyr::filter(entrez_gene %in% bg_to_entrez$ENTREZID) }