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.10.0 Index]