Description Usage Arguments Value Author(s) See Also Examples
Removes structural duplicates of exons in a GRanges object
1 | removeSameExon(exons)
|
exons |
GRanges object with exons |
GRanges object with unique exons
Beth Signal
Other gtf manipulation: UTR2UTR53
,
addBroadTypes
,
exonsToTranscripts
,
filterGtfOverlap
,
removeDuplicateTranscripts
,
reorderExonNumbers
1 2 3 4 5 6 7 | gtf <- rtracklayer::import(system.file("extdata","example_gtf.gtf",
package = "GeneStructureTools"))
exons <- gtf[gtf$type=="exon"]
exons.duplicated <- c(exons[1:4], exons[1:4])
length(exons.duplicated)
exons.deduplicated <- removeSameExon(exons.duplicated)
length(exons.deduplicated)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.