getPwmFromFastaFile {DiffLogo} | R Documentation

## generates a pwm from a FASTA file

### Description

generates a pwm from a FASTA file

### Usage

    getPwmFromFastaFile(filename, alphabet = NULL)

### Arguments

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

### Value

a pwm

### Examples

    fileName = "extdata/alignments/F-box_bacteria.seq.fa"
    file = system.file(fileName, package = "DiffLogo")
    pwm = getPwmFromFastaFile(file)

[Package DiffLogo version 2.12.2 Index]