View source: R/enrichedPairs.R
enrichedMirTxPairs | R Documentation |
Identifies pairs of miRNA and target transcripts that have an unexpectedly high number of sites.
enrichedMirTxPairs(m, minSites = 5, max.binom.p = 0.001)
m |
A GRanges of matches, as produced by |
minSites |
The minimum number of sites for a given miRNA-target pair to be considered. |
max.binom.p |
The maximum binomial p-value of miRNA-target pairs. |
A data.frame of top combinations, including number of sites and the log-transformed binomial p-value.
# we create a dummy scan (see `runFullScan`)
library(scanMiR)
seqs <- getRandomSeq(n=10)
mirs <- c("TTGTATAA","AGCATTAA")
m <- findSeedMatches(seqs,mirs,verbose=FALSE)
# we look for enriched pairs
res <- enrichedMirTxPairs(m, minSites=1, max.binom.p=1)
res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.