getPfms,MotifMatcher-method {trena} | R Documentation

## Retrieve the motifs from the pfms slot

### Description

Given a MotifMatcher object, return the motifs, which are stored in the pfms slot.

### Usage

    ## S4 method for signature 'MotifMatcher'
    getPfms(obj)

### Arguments

`obj` | An object of class MotifMatcher

### Value

The list of motif matrices stored in the pfms slot.

### Examples

    # Return the default matrix of JASPAR motifs
    library(MotifDb)
    motifMatcher <- MotifMatcher(genomeName="hg38", pfms = as.list(query(MotifDb, "sapiens")))
    motifs <- getPfms(motifMatcher)

[Package trena version 1.12.1 Index]