# HG changeset patch
# User kpbioteam
# Date 1529598338 14400
# Node ID 49ae9762eb962a4d07375f2c8001c63753ab9e66
# Parent 5aba765e27b4684dbd4805588972f613985f8493
planemo upload for repository https://github.com/kpbioteam/clusterProfiler_go commit 19aa66aed9f704dc98680d2573ff7b13c81c0ca2-dirty
diff -r 5aba765e27b4 -r 49ae9762eb96 clusterProfiler_go.R
--- a/clusterProfiler_go.R Mon Mar 19 14:01:29 2018 -0400
+++ b/clusterProfiler_go.R Thu Jun 21 12:25:38 2018 -0400
@@ -1,7 +1,9 @@
require("clusterProfiler", quietly = TRUE)
+require("DO.db", quietly = TRUE)
require("org.Hs.eg.db", quietly = TRUE)
require("ggplot2", quietly = TRUE)
+
args <- commandArgs(trailingOnly = TRUE)
input1 = args[1]
@@ -9,7 +11,7 @@
output2 = args[3]
gene <- read.table(input1)
-ego <- enrichGO(gene = c(gene$V2),
+ego <- enrichGO(gene = c(gene$V1),
keyType = "ENTREZID",
OrgDb = org.Hs.eg.db,
ont = "BP",
diff -r 5aba765e27b4 -r 49ae9762eb96 clusterProfiler_go.xml
--- a/clusterProfiler_go.xml Mon Mar 19 14:01:29 2018 -0400
+++ b/clusterProfiler_go.xml Thu Jun 21 12:25:38 2018 -0400
@@ -4,7 +4,8 @@
bioconductor-clusterprofiler
r-ggplot2
bioconductor-org.hs.eg.db
-
+ bioconductor-do.db
+
@@ -28,4 +29,4 @@
10.1089/omi.2011.0118
-
\ No newline at end of file
+