viterbi.hmm: Computes the Viterbi path for a hidden markov model

Description Usage Arguments Details Value Author(s)

View source: R/tools.R

Description

Estimates the most likely path for a hidden Markov Chain using the maximum likelihood Viterbi algorithm.

Usage

1
viterbi.hmm(transitions, loglikelihood, positions, expected.CNV.length)

Arguments

transitions

Transition matrix

loglikelihood

numeric matrix containing the loglikelihood of the data under the possible states

positions

Positions of the exons

expected.CNV.length

Expected length of CNV calls, which has an impact on the transition matrix between CNV states.

Details

Standard forward-backward Viterbi algorithm using a precomputed matrix of likelihoods.

Value

comp1

Description of 'comp1'

comp2

Description of 'comp2'

Author(s)

Vincent Plagnol


ExomeDepth documentation built on May 29, 2017, 12:32 p.m.

Search within the ExomeDepth package
Search all R packages, documentation and source code