OptimBFA {scBFA} | R Documentation

## Optimize parameters of BFA's likelihood function

### Description

Optimize parameters of BFA's likelihood function

### Usage

    OptimBFA(modelEnv, maxit, method)

### Arguments

`modelEnv` | Environment variable contains parameter space, and global variables such as N,G,C,detection matrix B, etc
`maxit` | Maximum number of iteration with respect to objective function, default is 300 iterations
`method` | Optimization method, default is the conjugate gradient approach L-BFGS-B is recommended for smaller dataset less than 10k cells

### Value

The entire model environment

[Package scBFA version 1.2.0 Index]