Description Usage Arguments Details Value Author(s) Examples
View source: R/computeFDRmedian.R
computes FDR from scores and permutation scores
1 | computeFDR(r)
|
r |
result list from GSEA analysis with r0 scores; rR random scores |
computes FDR from scores and permutation scores
returns a list with two dataframes; one for Up regulation and one for Down regulation
maxime.tarabichi@ulb.ac.be
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ##creates matrix of expression with rownames = gene names
m<-matrix(rnorm(10*10000),10000,10)
rownames(m)<-paste("r",1:10000)
## creates list of 10 genesets of size 100
lG<-lapply(1:10,function(x) paste("r",sample(1:10000,100,rep=F)))
names(lG)<-paste("GS",1:10)
##performs GSEA analysis
r<-GSEA.listofgenes(m,lG,nperms=100)
##computesFDR for the results
computeFDRmedian(r)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.