Adjusting the size of the visual output from cluster profiler
Entering edit mode
anthony.nash ▴ 20
Last seen 11 months ago
University of Oxford

Morning all! Just a quick question. I have a basic enrichment calculation of go terms as below:

ego2 <- enrichGO(gene         = rownames(tmpGR), 
            OrgDb         =,
            keyType       = 'ENSEMBL',
            ont           = "CC",
            pAdjustMethod = "BH",
            pvalueCutoff  = 0.01,
            qvalueCutoff  = 0.05)
ego2 <- setReadable(ego2, OrgDb =

enrichGOPlotMASSIVE <- heatplot(ego2, foldChange = geneList, showCategory = 100)
dotplotFINE <- dotplot(ego2, showCategory=30) + ggtitle("dotplot for GSEA")
barplotFINE <- barplot(ego2, showCategory=20)
networkMASSIVE <- cnetplot(ego2, foldChange=geneList)

However, besides the dot plot and bar plot, the heatplot and cnetplot are huge. Is there something basic I can do to reduce the input into these display functions? The showCateregory in the heatplot doesn't seem to reduce what I expect it to reduce.


clusterProfiler heatmap GOAnalysis • 594 views

Login before adding your answer.

Traffic: 384 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6