Hi,
I used DiffBind to count the ChIP-seq reads (dba.count) and plot the correlation heat map (dba.plotHeatmap), and a have a question. By default dba.plotHeatmap uses all the samples and computes the correlations between every pair, and I would like to compute and plot the correlations only among the binding differences. For example my samples are A_u (untreated sample), A_t (treated sample), B_u, B_t, C_u, C_t, etc. I would like to compute first the binding differences A_t - A_u, B_t - B_u, C_t - C_u, etc. and then to use dba.plotHeatmap or something similar to plot the correlation heat map and see which samples behave similarly. Could you please tell me if this is possible using DiffBind?
Thank you,
Razvan
Thanks Rory! That is useful, but I had something else in mind. Suppose I have 6 samples: A_treated, A_untreated, B_t, B_u, C_t, C_u. By default dba.plotHeatmap will generate a 6x6 correlation heatmap with the correlations among all 6 samples. I would like to generate a correlation heatmap among the 3 binding differences, i.e. a 3x3 heatmap corresponding to (delta A), (delta B) and (delta C), where counts(delta X) = counts(X_treated) - counts(X_untreated), and all samples have the same binding sites (with different occupancies/reads). Is this possible in DiffBind?