Description Usage Arguments Value Examples
Obtain a congintency matrix with the number of motifs per sequence. Alterna- tivelly return only presence/absence of motif, and/or only motifs/sequences with at least one non-zero entry.
1 2 3 4 | getMotifMatrix(object, simplify = TRUE, filter = FALSE)
## S4 method for signature 'MotifSearchResult'
getMotifMatrix(object, simplify = TRUE, filter = FALSE)
|
object |
a MotifSearchResult object. |
simplify |
whether to return a matrix of 0 (motif not present) and 1 (motif present). |
filter |
whether remove columns/rows with all zero entries. |
a matrix.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.