nLogLik: Negative log likelihood for coefficients provided in results...

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
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)

Author(s)

Vasyl Zhabotynsky vasyl@unc.edu

See Also

process, rcA, readCounts.

Examples

1
2
3
4
5
## Not run: 
# get negative-log likelihood at the given point:
nLogLik(res=trecase.X.out, rc=rcX, genei=1, hessian=TRUE)

## End(Not run)

rxSeq documentation built on May 1, 2019, 11:31 p.m.