how to change color of points log2foldchange>1
1
0
Entering edit mode
@13027716062-12045
Last seen 7.4 years ago

hi,everyone, i want to change colors of points log2foldchange>1,but the point it`s y value below 1 can also be changed ,why?

plotMA(x[x$baseMean>1,],col=ifelse(x$log2FoldChange>1,"red","gray"))

 

deseq • 918 views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 17 days ago
EMBL European Molecular Biology Laborat…

Use this

xs <- x[x$baseMean>1, ]
plotMA(xs, col = ifelse(xs$log2FoldChange>1, "red", "gray"))

ADD COMMENT

Login before adding your answer.

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