diff topGO_enrichment.R @ 12:8eaa43ba1bfc draft

planemo upload commit 4ba1ebe7b3f5e3fabf78b5fed7ed0b92e2cbf9e5-dirty
author proteore
date Fri, 28 Jun 2019 05:18:20 -0400
parents fa2e27165d5d
children 7f1ce70f0f09
line wrap: on
line diff
--- a/topGO_enrichment.R	Mon Mar 04 08:37:49 2019 -0500
+++ b/topGO_enrichment.R	Fri Jun 28 05:18:20 2019 -0400
@@ -215,7 +215,7 @@
     return(c(NULL,NULL))
   }
   
-  geneList = factor(as.integer(allGenes %in% sample)) 
+  geneList = factor(as.integer(allGenes %in% sample)) #duplicated ids in sample count only for one
   if (length(levels(geneList)) == 1 ){
     stop("All or none of the background genes are found in tested genes dataset, enrichment analysis can't be done")
   }