library(JASPAR2014)
db <- file.path(system.file("extdata", package="JASPAR2014"),
"JASPAR2014.sqlite")
## character and ID
pfm <- getMatrixByID(db, ID="MA0003")
## character and IDs
pfmList <- getMatrixByID(db, ID=c("MA0003", "MA0004"))
## character and name
pfm <- getMatrixByName(db, name="TFAP2A")
##
## character and name
pfmList <- getMatrixByName(db, name=c("TFAP2A", "Arnt"))
## JASPAR2014 and ID
pfm <- getMatrixByID(JASPAR2014, ID="MA0003")
Run the code above in your browser using DataLab