getMotifInfo {esATAC} | R Documentation

## Generate PFMatrix or PFMatrixList from file.

### Description

atacMotifScan and atacMotifScanPair accept PFM in a `list`, this function convert JASPAR PFM file to `PFMatrix` or `PFMatrixList`.

### Usage

    getMotifInfo(motif.file = NULL)

### Arguments

`motif.file` | Motif PFM file downloaded from JASPAR.

### Details

Generate `PFMatrix` or `PFMatrixList`.

### Value

`PFMatrix` or `PFMatrixList`.

### Author(s)

Wei Zhang

### Examples

    motif_file <- system.file("extdata", "CustomizedMotif.txt", package="esATAC")
    pfm <- getMotifInfo(motif.file = motif_file)

[Package esATAC version 1.10.0 Index]