Description Usage Arguments Details Value Author(s)
Perform and visualise the enrichment analysis of sites from a txLoc
object relative to the start/stop codons from a reference transcriptome.
See 'Details'.
1 | PlotRelStartStopEnrichment(txLoc1, txLoc2, flank = 550, binWidth = 20)
|
txLoc1 |
A |
txLoc2 |
A |
flank |
An integer scalar or an integer vector of length 2; specifies
the absolute maximum relative distance(s) used as a cutoff; by specifying
|
binWidth |
An |
The function calculates relative distances of sites from a txLoc
object to the corresponding transcript's start and stop codons.
Enrichment/depletion is assessed using multiple Fisher's exact tests on the
counts per distance bin relative to the counts in all other bins within the
window defined by (-flank, flank). Resulting enrichment plots
show odds-ratios (including 95% confidence intervals) and associated
p-values as a function of relative distance bins. Negative distances
indicate sites from txLoc that are upstream of the start/stop
codon; positive distances correspond to sites from txLoc that are
downstream of txLocRef. The bin width and window size can be
adjusted with flank and binWidth.
Note that this function can be quite slow if txLoc2 is based on all
null sites. If this is the case, consider downsampling txLoc2 using
DownsampleTxLoc.
NULL.
Maurits Evers, maurits.evers@anu.edu.au
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.