getPfms: Retrieve the motifs from the pfms slot

Description Usage Arguments Value Examples

Description

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

Usage

1
2
## 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

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

trena documentation built on Nov. 15, 2020, 2:07 a.m.