How to extract all the terms using summary?
1
0
Entering edit mode
7.1 years ago

Hi there! I'm using clusterProfiler to do KEGG enrichment analysis. The function "enricher" was used.

res <- enricher(geneList, TERM2GENE=term2gene, TERM2NAME=term2name, pvalueCutoff = 1, pAdjustMethod = "BH", qvalueCutoff = 1)

Then the function "summary" was used to extract the results.

summary(res)

But only significant ones were returned. I'm wondering whether there is a way to output all the terms rather than just significant ones. Thanks.

clusterProfiler_3.0.5 and DOSE_2.10.7 were used.

clusterProfiler • 1.9k views
ADD COMMENT
0
Entering edit mode

Have you tried GeneSCF ? Which returns all the significant and non-significant terms. Additionally you can also download complete KEGG terms with corresponding genes as simple text file using GeneSCF.

ADD REPLY
1
Entering edit mode
7.1 years ago
Guangchuang Yu ★ 2.6k

If you set pvalueCutoff=1 and qvalueCutoff=1, of course all result will return. Not matter it is significant or not.

ADD COMMENT

Login before adding your answer.

Traffic: 1961 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