geneSetPerm | R Documentation |
Test gene set enrichment by permutating gene labels of statistics
geneSetPerm(stats, indList, Nsim = 9999)
stats |
Statistics |
indList |
a list of integers, indicating indices of genes of gene sets (index starts from 1, following R's convention) |
Nsim |
number of simulations |
A data frame containg mean statistic, gene set size, and p-values
geneSetTest
, a R implementation in the limma package
set.seed(1887)
stats <- rnorm(1000)
gsList <- list(gs1=c(3,4,5), gs2=c(7,8,9))
geneSetPerm(stats, gsList, Nsim=99)
gsList2 <- list(gs1=c(3,4,5), gs2=c(7,8,9), gs3=integer())
geneSetPerm(stats, gsList2, Nsim=99)
gsList3 <- sample(1:1000, 200)
geneSetPerm(stats, gsList3, Nsim=99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.