Entering edit mode
2.1 years ago
1614999088
•
0
Hi everyone, I'm performing ChIP-Seq analysis using Diffbind3.0, after doing:
> dbObj <- dba(sampleSheet="peaksfile_merged.txt")
> dbObj <- dba.count(dbObj, bUseSummarizeOverlaps=FALSE, summits=FALSE)
> dbObj <- dba.normalize(dbObj, normalize=DBA_NORM_LIB)
then use plot(dbObj)
for clustering among samples,and generate a heatmap of clustering among samples.
However, we want to make some adjustments to the generated heatmap. What are the parameters in the plot() function, or can we extract the original data used to draw the heatmap?
help will be highly appriciated!
Hi Rory,
From the latest update, I can retrieve the data from
dba.peakset()
,after doing:Then use the following code to calculate the correlation of each sample and draw the heatmap:
However, the heatmap obtained is not consistent with that drawn by using the default function
dba.plotHeatmap(dbObj)
, and the clustering results are also different.Does it need to set other parameters.Thank you very much!
This is likely due to the default setting in
dba.plotHeatmap()
ofbLog=TRUE
, which uses thelog2()
normalized count values for the correlations.