genlist for clusterprofiler
1
1
Entering edit mode
6.7 years ago

Dear all,

I am using the clusterprofiler. I used the enrichGO, enrichKEGG and enrichDO .

data<-read.delim("enrich.txt")
genes<-data$entrez[abs(data$expr)>2]

I used genes as input in enrichGO,enirchKEGG. But I am not able to create input geneList for the gse function .

ego3 <- gseGO(geneList     = geneList,
              OrgDb        = org.Hs.eg.db,
              ont          = "CC",
              nPerm        = 1000,
              minGSSize    = 100,
              maxGSSize    = 500,
              pvalueCutoff = 0.05,
              verbose      = FALSE)

I have gene list with log2fold change. Therefore I also want to analyse ontology based on the gene set enrichment gseGO and gseKEGG functions.

Can anybody suggest me how to prepare this input file from tab seprated data file.

All suggestions will be appreciated.

Thank you

clusterprofiler R bioconductor • 7.7k views
ADD COMMENT
1
Entering edit mode
ADD COMMENT
0
Entering edit mode

Is it necessary to use a ranked gene list for clusterProfiler. I have a gene list from different modules in a network for which I want to do annoation/ORA.

ADD REPLY

Login before adding your answer.

Traffic: 2723 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6