How select top enriched regions from plotHeatmap outputs?
Entering edit mode
16 months ago
star ▴ 330

I used the deeptools to draw plotHeatmap for ChIP-seq peaks across an epigenome mark. Now, I would like to select top (e.g: top1000) enriched regions based on the plotHeatmap to apply Motif analysis on those regions but I am not sure which output can be useful to extract Top regions?

I have both --outFileSortedRegions and --outFileNameMatrix outputs from computeMatrix and plotHeatmap functions. I tried to select a subset based on the top 1000 regions from --outFileSortedRegions.

computeMatrix plotHeatmap R deeptools • 615 views
Entering edit mode
16 months ago
kashiff007 ★ 1.9k

Your default gz file from -o will have full matrix. Sort this file after uncompressing and select the top 1000. It also depend on which region you want to look, this file is matrix of rows where each row corresponds to each each gene (region). If you want to look the enrich region at center of the peak then I suggest take 5 to 10 (depending on how big you took the bin size) central part of the matrix file and calculate the mean, and then sort.


Login before adding your answer.

Traffic: 1361 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6