Plotting GO enrichment DATA
0
0
Entering edit mode
10 months ago
hellokwmin • 0

Hello,

I am trying to visualize the result of GO enrichment analysis. My dataframe looks like:

enter image description here

And I used this R code to visualize:

ggplot(ego, showCategory = 20, aes(Count, Description, fill = ONTOLOGY)) + geom_bar(stat = "identity") +
  facet_wrap(~ ONTOLOGY, nrow = 5, , scales = "free", drop = FALSE) +
  theme(legend.position = "bottom",
        axis.title.y = element_blank()) +
  geom_text(
    aes(label = paste(Count)),
    color = "black",
    size = 4,
    hjust = 0.1,
    position = position_dodge(0.9)
  )

But, with this code, only BP part is shown.

enter image description here

How could I present all GO such as BP, MF, and CC ? in dataframe, there are MF and CC also within ONTOLOGY section..

R GO enrichment-analysis • 431 views
ADD COMMENT
1
Entering edit mode

how about your previous questions ? comment/validate them please. Modify fasta file header python script revision for sequencing depth

ADD REPLY

Login before adding your answer.

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