Learn R Programming

rxSeq (version 0.99.3)

nLogLik: Negative log likelihood for coefficients provided in results of the fit using process function

Description

Calculates negative log(likelihood) of an X chromosome joint TReC and ASE counts model at a given set of parameters

Usage

nLogLik(res, rc, genei, hessian=FALSE)

Arguments

res
result object from process function
rc
Read count data object created by readCounts function
genei
get results for i'th gene
hessian
a logical option whether to calculate a Hessian matrix, the default values is set to FALSE.

Value

output - list(nll=-log.likelihood,hessian=hessian matrix)

See Also

process, rcA, readCounts.