Description Usage Arguments Value Examples
View source: R/forground_wrapper.R
This function computes the reverse complement of a given PFM.
1 | revcompMotif(pfm)
|
pfm |
An R matrix that represents a position frequency matrix |
Reverse complemented PFM
1 2 3 4 5 6 | # Load motif
motiffile = system.file("extdata", "x1.tab", package = "motifcounter")
motif = t(as.matrix(read.table(motiffile)))
# Reverse complement motif
revcompmotif = motifcounter:::revcompMotif(motif)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.