getPwmFromAlignmentFile: generates a pwm from an alignment file

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

generates a pwm from an alignment file

Usage

1
getPwmFromAlignmentFile(filename, alphabet = NULL)

Arguments

filename

the alignment file

alphabet

the desired alphabet of type Alphabet

Value

a pwm

Examples

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

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