enrichedMirTxPairs: enrichedMirTxPairs

Description Usage Arguments Value Examples

View source: R/enrichedPairs.R

Description

Identifies pairs of miRNA and target transcripts that have an unexpectedly high number of sites.

Usage

1
enrichedMirTxPairs(m, minSites = 5, max.binom.p = 0.001)

Arguments

m

A GRanges of matches, as produced by findSeedMatches. This will be filtered down to only 8mer and 7mer sites.

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.

Value

A data.frame of top combinations, including number of sites and the log-transformed binomial p-value.

Examples

1
2
3
4
5
6
7
8
# 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

ETHZ-INS/scanMiRApp documentation built on Jan. 20, 2022, 5:51 p.m.