Mercurial > repos > iuc > fgsea
diff fgsea.R @ 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 | 9bb7943b5263 |
children |
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