getPwmFromFile {DiffLogo} | R Documentation

## generates a pwm from a file of different formats

### Description

Generates a pwm from a file of different formats. Supported formats are FASTA files (.fa, .fasta), alignment files (.txt, .text, .al, .alignment), PWM files (.pwm), JASPAR / Position Frequency Matrix files (.pfm), and homer files (.motif).

### Usage

    getPwmFromFile(filename)

### Arguments

`filename` | the file

### Value

a pwm

### Examples

    fileName = "extdata/pwm/H1-hESC.pwm"
    file = system.file(fileName, package = "DiffLogo")
    pwm = getPwmFromFile(file)

[Package DiffLogo version 2.6.0 Index]