Search
Question: How can I modify DiffBind correlation plot
0
gravatar for Gary
22 months ago by
Gary0
Gary0 wrote:

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

ADD COMMENTlink modified 22 months ago by Rory Stark1.7k • written 22 months ago by Gary0
0
gravatar for Rory Stark
22 months ago by
Rory Stark1.7k
CRUK, Cambridge, UK
Rory Stark1.7k wrote:

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 COMMENTlink written 22 months ago by Rory Stark1.7k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 123 users visited in the last hour