gibbs.sampler: Gibbs Sampler.

Description Usage Arguments Value

View source: R/kmers.R


Perform the Gibbs Sampler method for finding frequent motifs in the given vector of strings or data.frame. Each string splitted to kmers with the given length of motif.


gibbs.sampler(.data, .k = 5, .niter = 500)



Vector of characters or data.frame of characters (1st col) and their numbers (2nd col) if .meat == T.


Motif's length.


Number of iterations.


Vector of possible motifs.

tcR documentation built on May 19, 2017, 9:48 p.m.
Search within the tcR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.