Only display positive FC on volcano plot
1
0
Entering edit mode
Tanner • 0
@5ed88adc
Last seen 13 months ago
Canada

I'm looking at fold changes relative to a negative control. I'm not interested in displaying genes with a negative FC, is there a way to just display the positive/right side of the volcano plot? I've tried setting the xlim to start at zero, but this doesn't work.

EnhancedVolcano • 555 views
ADD COMMENT
0
Entering edit mode

Yes you need to select the genes with positive logFC instead of applying it to the all dataset

ADD REPLY
0
Entering edit mode
Kevin Blighe ★ 3.9k
@kevin
Last seen 3 days ago
Republic of Ireland

Indeed, one just needs to pre-filter the input results table / data-frame for those genes with positive fold-changes.

For example:

subset(res, log2fc > 0)

Kind regards,

Kevin

ADD COMMENT

Login before adding your answer.

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