View source: R/txFeatureOverlap.R
txFeatureOverlap | R Documentation |
Tests the overlap of transcript features with supplied peaks. See details.
txFeatureOverlap(object, quiet = FALSE)
object |
An RLRanges object. |
quiet |
If TRUE, messages will be suppressed. Default: FALSE |
Transcript annotations were curated as part of the RLBase-data workflow and are provided via RLHub::annotations.
In txFeatureOverlap
, each annotation "type" (e.g., "Exons", "Introns", etc)
is compared to the supplied RLRanges, yielding overlap statistics with
the following procedure:
For each annotation type, the peaks are overlapped with the annotations.
Then the number of overlapping peaks is counted and summarised using a priority order. This order determines which feature is assigned to a peak when that peak overlaps multiple features. The order is "TSS", "TTS", "5'UTR", "3'UTR", "Exon", "Intron", "Intergenic".
An RLRanges object containing the results of the enrichment test
accessed via rlresult(object, "txFeatureOverlap")
. The results
are in tbl
format.
# Example RLRanges dataset rlr <- readRDS(system.file("extdata", "rlrsmall.rds", package = "RLSeq")) # RL Region Test txFeatureOverlap(rlr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.