gradient: Calculate gradient of the negative log likelihood, used for...

Description Usage Arguments Value

View source: R/BFA.R

Description

Calculate gradient of the negative log likelihood, used for calls to the optim() function.

Usage

1
gradient(parameters, modelEnv)

Arguments

parameters

Vectorized parameter space.

modelEnv

Environment variable contains parameter space, and global variables such as N,G,C,detection matrix B, etc

Value

Vectorized gradient


quon-titative-biology/scBFA documentation built on March 24, 2020, 7:30 p.m.