getPwmFromAlignmentFile {DiffLogo} | R Documentation

## generates a pwm from an alignment file

### Description

generates a pwm from an alignment file

### Usage

    getPwmFromAlignmentFile(filename, alphabet = NULL)

### Arguments

`filename` | the alignment file
`alphabet` | the desired alphabet of type Alphabet

### Value

a pwm

### Examples

    fileName = "extdata/alignments/calamodulin_1.txt"
    file = system.file(fileName, package = "DiffLogo")
    pwm = getPwmFromAlignmentFile(file)

[Package DiffLogo version 2.12.2 Index]