changeset 2:17eb1e0d711f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fgsea commit 7f92023de5d3d922ad6cfd22f4de263b56127a1c
author iuc
date Mon, 06 May 2019 04:45:25 -0400
parents 101b208a3e1a
children
files fgsea.R fgsea.xml
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fgsea.R	Sat Feb 09 12:22:37 2019 -0500
+++ b/fgsea.R	Mon May 06 04:45:25 2019 -0400
@@ -56,6 +56,8 @@
   pathways <- get(pathways)
 }
 
+# need to set seed for reproducibility https://github.com/ctlab/fgsea/issues/12
+set.seed(42)
 fgseaRes <- fgsea(pathways, ranks, minSize=min_size, maxSize=max_size, nperm=n_perm)
 fgseaRes <- fgseaRes[order(pval), ]
 # Convert leadingEdge column from list to character to output
--- a/fgsea.xml	Sat Feb 09 12:22:37 2019 -0500
+++ b/fgsea.xml	Mon May 06 04:45:25 2019 -0400
@@ -1,4 +1,4 @@
-<tool id="fgsea" name="fgsea" version="1.8.0">
+<tool id="fgsea" name="fgsea" version="1.8.0+galaxy1">
     <description>- fast preranked gene set enrichment analysis</description>
     <requirements>
         <requirement type="package" version="1.8.0">bioconductor-fgsea</requirement>