Calculate the Distribution of Peaks in 5'UTR, 3'UTR, and CDS of Transcripts Using R
0
0
Entering edit mode
5 weeks ago
octpus616 ▴ 120

Hi,

Assuming I have a BED file containing the positions of some peaks on the genome,

I would like to use R calculate the relative distribution of these peaks in the 5'UTR, 3'UTR, and CDS regions of transcripts.

I know ChipSeeker offer a function plotPeakProf2() can provide similar results, such as those mentioned in its documents.

We improved and developed several functions to plot body region of Gene/Transcript/Exon/Intron/3UTR/5UTR. If users want to get more information from the body region, we added upstream and downstream parameters to functions in order to get flank extension of body regions. upstream and downstream can be NULL(default), rel object and actual numbers. NULL(default) reflects body regions with no flank extension. Rel object reflects the percentage of total length of body regions. Actual numbers reflects the actual length of flank extension.

plotPeakProf2(peak = peak, upstream = rel(0.2), downstream = rel(0.2), conf = 0.95, by = "gene", type = "body", nbin = 800, TxDb = txdb, weightCol = "V5",ignore_strand = F)

enter image description here

But this is somewhat different from what I want, as I hope to focus on the CDS region and its upstream and downstream UTRs. I don't know if there are any packages that can do this?

R RNA-seq GRanges • 167 views
ADD COMMENT

Login before adding your answer.

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