Description Usage Arguments Value Author(s) Examples
View source: R/OverlapFunctions.R
Annotate introns and exonic parts by overlaping exon biotype
1 | overlapTypes(queryCoords, gtf, set = c("from", "to", "overlap"))
|
queryCoords |
GRanges object of the query regions |
gtf |
GRanges object of the GTF annotated with exon biotypes - i.e. exon, CDS, UTR |
set |
which overlapping set of exon biotypes to return - to, from, and/or overlap |
overlaping types in a data.frame
Beth Signal
1 2 3 4 5 6 7 8 9 10 | gtfFile <- system.file("extdata","example_gtf.gtf",
package = "GeneStructureTools")
DEXSeqGtfFile <- system.file("extdata","gencode.vM14.dexseq.gtf",
package = "GeneStructureTools")
gtf <- rtracklayer::import(gtfFile)
gtf <- UTR2UTR53(gtf)
DEXSeqGtf <- rtracklayer::import(DEXSeqGtfFile)
overlapTypes(DEXSeqGtf[1:10], gtf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.