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)

mgledi/DiffLogo documentation built on June 7, 2020, 8:23 a.m.