seq2hmm.ll {DBHC}R Documentation

Sequence-to-HMM Likelihood

Description

Compute the sequence-to-HMM likelihood of an HMM evaluated for a single sequence and check if the sequence contains emissions that are not possible according to the HMM. Auxiliary function used in select.seeds and assign.clusters.

Usage

seq2hmm.ll(hmm)

Arguments

hmm

An hmm object (see build_hmm) containing a single sequence.

Value

The log likelihood of the sequence contained in hmm, value will be set to minus infinity if the sequence contains illegal emissions.

See Also

Used in select.seeds and assign.clusters.


[Package DBHC version 0.0.3 Index]