nLogLik {rxSeq} | R Documentation |
Calculates negative log(likelihood) of an X chromosome joint TReC and ASE counts model at a given set of parameters
nLogLik(res, rc, genei, hessian=FALSE)
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. |
output - list(nll=-log.likelihood,hessian=hessian matrix)
Vasyl Zhabotynsky vasyl@unc.edu
process
, rcA
, readCounts
.
## Not run:
# get negative-log likelihood at the given point:
nLogLik(res=trecase.X.out, rc=rcX, genei=1, hessian=TRUE)
## End(Not run)