importMatrix {motifStack} | R Documentation

## import motifs from local files

### Description

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

### Usage

    importMatrix(filenames,
                 format=c("auto", "pfm", "cm", "pcm", "meme",
                          "transfac", "jaspar", "scpd", "cisbp",
                          "psam"),
                 to=c("auto", "pcm", "pfm", "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

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

[Package motifStack version 1.32.1 Index]