getMotifInfo: Generate PFMatrix or PFMatrixList from file.

Description Usage Arguments Details Value Author(s) Examples

View source: R/utilities.R

Description

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

Usage

1
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

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

esATAC documentation built on Nov. 8, 2020, 6:58 p.m.