LikefunNBHMM: Likelihood function of the Beta-Negative Binomial HMM Model

Description Usage Arguments Details Value Author(s) Examples

View source: R/LikefunNBHMM.R

Description

Likelihood function of the Beta-Negative Binomial HMM Model

Usage

1
LikefunNBHMM(ParamPool, InputPool)

Arguments

ParamPool

The parameters that will be estimated in EM.

InputPool

The control parameters that will not be estimated in EM

Details

The likelihood function of the Beta-Negative Binomial HMM model used in EBSeqHMM. EBSeqHMM uses optim() function to obtain the optimal estimates that minimizes the likelihood.

Value

optimal estimates of the parameters of interest

Author(s)

Ning Leng

Examples

1
2
3
4
5
data(GeneExampleData)
tmp <- GeneExampleData[1:10,]
In <- list(tmp,1,5,10,3,tmp,rep(1,15),as.factor(rep(1:5,each=3)), 10,cbind(rep(.5,10),rep(1,10),rep(2,10)))
Start <- c(1,1)
LikefunNBHMM(Start,In)

EBSeqHMM documentation built on Nov. 1, 2018, 2:35 a.m.