cnetplot and barplot don't show top ranked GO enrichments.
1
0
Entering edit mode
2.4 years ago
Shakiba ▴ 20

Hi,

I plotted the cnet plot with enrichResult objects. Object 1 was my filtered data with absolute log2 fold change more than 1, and object 2 was my filtered data with absolute log2 fold change more than 1.5. My enriched results are more in object 1, which is expected because I have more genes. But they show me fewer results when I want to plot barplot and cnetplot. I don't know why.

Here is my code.

p_cnetplot <- cnetplot(ego, categorySize="count", showCategory = 10, foldChange=OE_foldchanges, layout = "kk", color_category='tan2', node_label = "all", cex_label_gene = 2, cex_label_category = 1.5, colorEdge = FALSE) p_cnetplot <- p_cnetplot + ggtitle(title_str) + theme(plot.title = element_text(hjust= 0.5, size = 30))
p_barplot <- barplot(ego, showCategory = 30, font.size = 20, label_format = 100, order = FALSE)

absolute log2 fold changes > 1.5

enter image description here

enter image description here

absolute log2 fold changes > 1

enter image description here

enter image description here

barplot Goenrichment cnetplot • 684 views
ADD COMMENT
1
Entering edit mode
2.4 years ago
Shakiba ▴ 20

Hello, I found there is no problen with cnetplot. It just shows the enriched pathways and it is correct. Thank you

ADD COMMENT

Login before adding your answer.

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