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)

DiffLogo documentation built on Nov. 8, 2020, 6:09 p.m.