getPwmFromFastaFile: generates a pwm from a FASTA file

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

generates a pwm from a FASTA file

Usage

1
getPwmFromFastaFile(filename, alphabet = NULL)

Arguments

filename

the FASTA file

alphabet

the desired alphabet of type Alphabet

Value

a pwm

Examples

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

DiffLogo documentation built on Nov. 1, 2018, 2:24 a.m.