How to show the fraction of peaks in CDS regions using ChIPseeker
1
0
Entering edit mode
tianf • 0
@tianf-10989
Last seen 8.2 years ago

I followed the tutorial of ChIPseeker. But I found that the CDS information could not be shown duing Visualize Genomic Annotation.

http://bioconductor.org/packages/3.3/bioc/vignettes/ChIPseeker/inst/doc/ChIPseeker.html#visualize-genomic-annotation

 

library("ChIPseeker")

files <- getSampleFiles()

txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene

peakAnno <- annotatePeak(files[[4]], tssRegion=c(-3000, 3000), TxDb=txdb, annoDb="org.Hs.eg.db")

plotAnnoPie(peakAnno)

 

How could I show the fraction of peaks in CDS regions as well in the figure?

 

chipseeker • 1.5k views
ADD COMMENT
0
Entering edit mode
Guangchuang Yu ★ 1.2k
@guangchuang-yu-5419
Last seen 8 weeks ago
China/Guangzhou/Southern Medical Univer…
CDS is very general, it contains UTR, extron, intron and some of the promoter (flanking sequence of TSS). If you want to get exactly CDS ratio, you can downgrade promoter in genomic annotation by passing the following parameter to annotatePeak. genomicAnnotationPriority = c("5UTR", "3UTR", "Exon", "Intron", "Promoter", "Downstream", "Intergenic") Then you can sum 5UTR, 3UTR, Exon and Intron as CDS.
ADD COMMENT

Login before adding your answer.

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