The Motif class is designed to store DNA sequence motif information, including motif PWMs or PFMs, motif positions, and metadata.

Slots

data

A sparse, binary, feature x motif matrix. Columns correspond to motif IDs, rows correspond to genomic features (peaks or bins). Entries in the matrix should be 1 if the genomic feature contains the motif, and 0 otherwise.

pwm

A named list of position weight matrices

motif.names

A list containing the name of each motif

positions

A GRangesList object containing exact positions of each motif.

meta.data

A dataframe for storage of additional information related to each motif. This could include the names of proteins that bind the motif.