BioConductor
motifcounter 1.4.0
R package for analysing TFBSs in DNA sequences
Dependencies
'motifcounter' provides functionality to compute the statistics related with motif matching and counting of motif matches in DNA sequences. As an input, 'motifcounter' requires a motif in terms of a position frequency matrix (PFM). Furthermore, a set of DNA sequences is required to estimated a higher-order background model (BGM). The package provides functions to investigate the the per-position and per strand log-likelihood scores between the PFM and the BGM across a given sequence of set of sequences. Furthermore, the package facilitates motif matching based on an automatically derived score threshold. To this end the distribution of scores is efficiently determined and the score threshold is chosen for a user-prescribed significance level. This allows to control for the false positive rate. Moreover, 'motifcounter' implements a motif match enrichment test based on two the number of motif matches that are expected in random DNA sequences. Motif enrichment is facilitated by either a compound Poisson approximation or a combinatorial approximation of the motif match counts. Both models take higher-order background models, the motif's self-similarity, and hits on both DNA strands into account. The package is in particular useful for long motifs and/or relaxed choices of score thresholds, because the implemented algorithms efficiently bypass the need for enumerating a (potentially huge) set of DNA words that can give rise to a motif match.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.bioconductor</groupId> <artifactId>motifcounter</artifactId> <version>1.4.0-b1</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.bioconductor:motifcounter')
Test Results
This package was last tested against Renjin 0.9.2644 on Jun 2, 2018.
- clumpSizeDist-examples
- combinatorialDist-examples
- compoundPoissonDist-examples
- computeClumpStartProb-examples
- generateDNAString-examples
- generateDNAStringSet-examples
- lenSequences-examples
- markovModel-examples
- motifAndBackgroundValid-examples
- motifEnrichment-examples
- motifHitProfile-examples
- motifHits-examples
- motifValid-examples
- motifcounter-package-examples
- motifcounterOptions-examples
- normalizeMotif-examples
- numMotifHits-examples
- probOverlapHit-examples
- readBackground-examples
- revcompMotif-examples
- scoreDist-examples
- scoreDistBf-examples
- scoreDistEmpirical-examples
- scoreHistogram-examples
- scoreHistogramSingleSeq-examples
- scoreProfile-examples
- scoreSequence-examples
- scoreStrand-examples
- scoreThreshold-examples
- sigLevel-examples
- simulateClumpSizeDist-examples
- simulateNumHitsDist-examples
- testthat