getPwmFromFile {DiffLogo} | R Documentation |
Generates a pwm from a file of different formats. Supported formats are FASTA files (.fa, .fasta), alignment files (.txt, .text, .al, .alignment), PWM files (.pwm), JASPAR / Position Frequency Matrix files (.pfm), and homer files (.motif).
getPwmFromFile(filename)
filename |
the file |
a pwm
fileName = "extdata/pwm/H1-hESC.pwm" file = system.file(fileName, package = "DiffLogo") pwm = getPwmFromFile(file)