To install this package, start R and enter:

## try http:// if https:// URLs are not supported

In most cases, you don't need to download the package archive at all.


DOI: 10.18129/B9.bioc.motifcounter    

This is the development version of motifcounter; for the stable release version, see motifcounter.

R package for analysing TFBSs in DNA sequences

Bioconductor version: Development (3.6)

'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.

Author: Wolfgang Kopp [aut, cre]

Maintainer: Wolfgang Kopp <kopp at>

Citation (from within R, enter citation("motifcounter")):


To install this package, start R and enter:

## try http:// if https:// URLs are not supported


HTML R Script Introduction to the `motifcounter` package
PDF   Reference Manual
Text   NEWS


biocViews MotifAnnotation, SequenceMatching, Software, Transcription
Version 1.1.9
In Bioconductor since BioC 3.5 (R-3.4) (< 6 months)
License GPL-2
Depends R (>= 3.0)
Imports Biostrings, methods
Suggests knitr, rmarkdown, testthat, MotifDb, seqLogo, prettydoc
Depends On Me
Imports Me
Suggests Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package motifcounter_1.1.9.tar.gz
Windows Binary (32- & 64-bit)
Mac OS X 10.11 (El Capitan) motifcounter_1.1.9.tgz
Source Repository git clone
Package Short Url
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: