getMotifInfo: Generate PFMatrix or PFMatrixList from file.

View source: R/utilities.R

getMotifInfoR 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)


wzthu/ATACpipe documentation built on Aug. 12, 2022, 7:38 a.m.