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)

PriceLab/trena-until-01mar2018 documentation built on May 25, 2019, 1:22 p.m.