importMatrix: import motifs from local files

Description Usage Arguments Value Author(s) Examples

View source: R/importMatrix.R

Description

Import the motifs into pcm-class or pfm-class from files exported from Transfac, CisBP, and JASPAR.

Usage

1
2
3
4
5
6
importMatrix(
  filenames,
  format = c("auto", "pfm", "cm", "pcm", "meme", "transfac", "jaspar", "scpd", "cisbp",
    "psam"),
  to = c("auto", "pcm", "pfm", "pssm", "psam")
)

Arguments

filenames

filename to be imported.

format

file format

to

import to pcm-class or pfm-class

Value

a list of object pcm-class or pfm-class

Author(s)

Jianhong Ou

Examples

1
2
  path <- system.file("extdata", package = "motifStack")
  importMatrix(dir(path, "*.pcm", full.names = TRUE))

motifStack documentation built on Nov. 8, 2020, 7:43 p.m.