How can I modify DiffBind correlation plot
1
1
Entering edit mode
Gary ▴ 20
@gary-7967
Last seen 5.2 years ago

DiffBind is wonderful that can cluster my H3K27ac ChIP-Seq samples very well as below fig1. However, is there any method or other tool I can use to swap the branches? I would like that my samples could be ordered following the time-series, i.e. 24hr and 48 hr on the right, and 6hr, 12hr, and 18hr on the left. In addition, how can I enlarge the text size, i.e. 0h, 6hr, 12hr, 18hr, 24hr, 48hr, and Condition? May I change the color for each Condition? Many thanks.

fig1

diffbind • 1.1k views
ADD COMMENT
0
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 14 days ago
Cambridge, UK

The colors may be changed directly by setting the colSideCols parameter in dba.plotHeatmap().

If you want to re-order the samples, the best way is to use the correlation matrix returned from dba,plotHeatmap(), re-order it as you wish, and plot your own heatmap (using heatmap(), or heatmap.2(), or heatmap.3()) with the Rowv and Colv parameters set to NA.

-Rory

 

ADD COMMENT

Login before adding your answer.

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