Generating TSS heatmap using methylation data
0
0
Entering edit mode
2.4 years ago
Minsun • 0

I am trying to generate a TSS heatmap (ex. figure below) using my methylation data derived from WGBS.

enter image description here

I saw many packages for ChIP-seq data such as EnrichedHeatmap but I was having difficulties using those packages since my input data is not ChIP-seq data. My data frame consists of methylation ratio (range: 0-1) for each sample (column) for each CpG site (rows). I am able to map each CpG site to genes and get the distance to TSS using my own method. My example data frame looks something like this.

colnames(df)

"Chromosome" "TSS.start" "TSS.end" "Distance.to.TSS" "Gene.Symbol" "CpG.Start" "CpG.End" "Sample 1" "Sample 2" "Sample 3"

enter image description here

I am wanting to use heatmap.2 in R to generate the TSS heatmap to see if there is an enrichment of methylation near the TSS. Does anyone have suggestion on how I could create a heatmap for non ChIP-seq data?

Thanks!

wgbs r tss methylation heatmap • 622 views
ADD COMMENT

Login before adding your answer.

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