Created
August 17, 2016 17:14
-
-
Save GuangchuangYu/11aa78d75711b76afd7467fb96a0a578 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## devtools::install_github("stephenturner/msigdf") | |
library(msigdf) | |
library(dplyr) | |
library(clusterProfiler) | |
c2 <- msigdf.human %>% | |
filter(collection == "c2") %>% select(geneset, entrez) %>% as.data.frame | |
data(geneList) | |
de <- names(geneList)[1:100] | |
x <- enricher(de, TERM2GENE = c2) | |
y <- GSEA(geneList, TERM2GENE = c2) | |
head(x) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment