Skip to contents

Reads in the amino acid emission frequency columns of a profile hidden markov model matrix and converts each position to frequencies.

Usage

hmm_read(hmm)

Arguments

hmm

The name of a profile hidden markov model file.

Value

A 20 x L matrix, in which L is the sequence length.

Examples

h<- hmm_read(system.file("extdata", "1DLHA2-7", package="protHMM"))