classifyPcmMotifs: Classifies motifs within given PWM file

Description Usage Arguments Value Examples

View source: R/classifyMotifs.R

Description

A function that finds matches for given motif PWM to motifs within the MotifDb database

Usage

1
classifyPcmMotifs(transfacFilePath)

Arguments

transfacFilePath

A string indicating the path to the TRANSFAC file

Value

Returns matchNames - A value of class character vector indicating motif match names

Examples

1
2
3
4
5
6
7
8
9
data(jaspar.scores, package="MotifFunc")
jaspar.scores
transfacFilePath <- system.file("extdata", "new0007.txt", package = "MotifFunc")
matchNames <- MotifFunc::classifyPcmMotifs(transfacFilePath)

data(jaspar.scores, package="MotifFunc")
jaspar.scores
PWMfile <- system.file("extdata", "MA0007.1.transfac", package = "MotifFunc")
matchNames <- MotifFunc::classifyPcmMotifs(PWMfile)

minhanho/MotifFunc documentation built on Dec. 8, 2019, 1:46 p.m.