getMotifMatrix-methods: getMotifMatrix

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
3
4
getMotifMatrix(object, simplify = TRUE, filter = FALSE)

## S4 method for signature '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

1

ddiez/motiftools documentation built on May 8, 2020, 11:38 a.m.