Mercurial > repos > proteore > proteore_clusterprofiler
diff GO-enrich.R @ 9:2f67202ffdb3 draft
planemo upload commit 6ca074d75447a272b570f7709ed10d0c8356bec5-dirty
author | proteore |
---|---|
date | Wed, 27 Feb 2019 03:39:16 -0500 |
parents | b29255864039 |
children | d951677a50d4 |
line wrap: on
line diff
--- a/GO-enrich.R Fri Dec 21 04:12:32 2018 -0500 +++ b/GO-enrich.R Wed Feb 27 03:39:16 2019 -0500 @@ -156,9 +156,12 @@ #save(args,file="/home/dchristiany/proteore_project/ProteoRE/tools/cluster_profiler/args.Rda") #load("/home/dchristiany/proteore_project/ProteoRE/tools/cluster_profiler/args.Rda") - plot = unlist(strsplit(args$plot,",")) + go_represent=str2bool(args$go_represent) go_enrich=str2bool(args$go_enrich) + if (go_enrich){ + plot = unlist(strsplit(args$plot,",")) + } suppressMessages(library(args$species, character.only = TRUE, quietly = TRUE))