GO analysis: Indicate genes corresponding to the pathway
0
0
Entering edit mode
6 months ago
sooni ▴ 20

Hello.

I am conducting GO analysis. The following is a bar plot of the GO analysis results I drew. enter image description here

I would like to display genes related to each pathway on a bar plot. Is this possible? If possible, how can I do it?

Thank you for help!

GeneOntoloy GO R • 273 views
ADD COMMENT
0
Entering edit mode

I think you have set a filter to get these pahways upstream from the DEG results. You should extract the IDs or names of the genes that you get from the GO analysis, merge the names of the pathways and genes into a single dataframe and then use for example this: ggplot(data=df, aes(x=your_pathw, y=count, fill=combined)) + geom_bar(stat="identity", position=position_dodge()). combined should be a column that contain genes and pathways name. As Matthias told you in the post you opened previously, I don't know how much sense this visualization of yours makes, perhaps consider a volcano plot to indicate your DE genes which are then connected to the pathways. Then use a bar plot for the pathways and a volcano for the genes. Furthermore, once again I highly recommend you share the code you are using so we can help you better and get more precise answers.

ADD REPLY

Login before adding your answer.

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