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.

getMotifMatrix(object, simplify = TRUE, filter = FALSE)

# S4 method for MotifSearchResult
getMotifMatrix(object, simplify = TRUE, filter = FALSE)

Arguments

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.

Value

a matrix.

Examples

NULL
#> NULL