Gviz for Plotting DMRs

56 views
Skip to first unread message

Ayesha Tariq

unread,
Jul 14, 2020, 1:36:13 PM7/14/20
to epigenom...@googlegroups.com

Hi, I am using Gviz package for plotting DMRs. So far I have successfully created attrack, itrack and Genome axis tracks. I want to create a gtrack with gene annotation information. I have used the following code 

grtrack <- GeneRegionTrack(DMRs, genome = "hg19", chromosome = chr, name = "Genes", transcriptAnnotation = "symbol", background.title = "brown") plotTracks(list(itrack, gtrack, atrack, grtrack))

The working DMRs file is a Grange object which I have created from a CSV. My original CSV has following information

 id                        Chromosome  Start      End   symbol      mean.mean.diff 

ENSG00000272438   chr1          840214 851356 TNFRSF4  -0.036783899

Executing the above I am getting the plot but instead of gene symbol every gene is named as unknown. Can anyone help with that?

Best,
Ayesha
Reply all
Reply to author
Forward
0 new messages