Description Usage Arguments Value Author(s) Examples
Perform enrichment analysis of the spatial distribution of positive sites in
txLoc.pos
relative to the distribution of null sites in
txLoc.neg
per transcript region and plot results.
Enrichment/depletion is evaluated using (multiple) Fisher's exact test(s).
Multiple hypothesis testing correction is applied following the method of
Bejamini and Hochberg.
1 2 | PlotSpatialEnrichment(txLoc.pos, txLoc.neg, binWidth = 20,
posMax = 1000)
|
txLoc.pos |
A |
txLoc.neg |
A |
binWidth |
Spatial bin width. Default is 20 nt. |
posMax |
Evaluate enrichment within a window given by |
NULL
.
Maurits Evers, maurits.evers@anu.edu.au
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
bedFile <- system.file("extdata",
"miCLIP_m6A_Linder2015_hg38.bed",
package = "RNAModR")
sites <- ReadBED(bedFile)
pos <- SmartMap(sites, id = "m6A", refGenome = "hg38")
null <- GenerateNull(posSites, method = "permutation")
PlotSpatialEnrichment(
FilterTxLoc(pos, c("5'UTR", "CDS", "3'UTR")),
FilterTxLoc(neg, c("5'UTR", "CDS", "3'UTR")))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.