Down-regulated genes showing up as red instead of green on R Pathview KEGG graph?
0
0
Entering edit mode
8.4 years ago
bionewbie • 0

Hello! I am a new user of pathview, and I have a very basic question that I couldn't figure out from reading the manual or the online tutorial. I have RNA-seq data from 2 groups that is log2 transformed. I took the average log2 expression of the experimental group and divided by the average log2 expression of the control group for each gene. When the experimental group is expressed less (let's say a ratio of 0.95), it should be green on the KEGG graph, but whenever I try it the gene actually shows up red. Is this maybe because the scale goes from -1 to 1 (green to red), and 0.95 is close to 1? How can I make genes expressed less in the experimental group actually show up as green? Do I need to further transform the fold change ratio? Or am I going about this completely wrong to begin with? Any suggestions would be very appreciated!

Pathview • 2.2k views
ADD COMMENT
0
Entering edit mode

Oops, it was a simple math error. To get the fold change I should have subtracted the log2 expression values, not divided!

ADD REPLY

Login before adding your answer.

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