Skip to content

Commit 8522d76

Browse files
committed
seed in webgR vs webg web
1 parent 5037799 commit 8522d76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

day2_Rnotebooks/WebGestaltR.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,9 @@ There is no `seed` parameter for `WebGestaltR` GSEA as there is for `clusterProf
258258
set.seed(123)
259259
```
260260

261-
A note from testing: without setting the seed in R, a slightly different number of enriched terms were returned over 3 runs. With setting the seed, the same number and IDs of terms were significant among the replicate runs, BUT the NES and the FDR were slightly different! The unadjusted ES and P values were the same.
261+
This is an advantage of using `WebGestaltR` over the web counterpart :-)
262+
263+
However, a note from testing: without setting the seed in R, a slightly different number of enriched terms for the GSEA below were returned over 3 replicate runs. With setting the seed, the same number and IDs of terms were significant among the replicate runs, BUT the NES and FDR were slightly different! The unadjusted ES and P values were the same.
262264

263265

264266

0 commit comments

Comments
 (0)