estimate_betas_group_wise {glmGamPoi} | R Documentation

## Estimate the Betas for Fixed Dispersions

### Description

Estimate the Betas for Fixed Dispersions

### Usage

    estimate_betas_group_wise(
      Y,
      offset_matrix,
      dispersions,
      beta_group_init = NULL,
      beta_mat_init = NULL,
      groups,
      model_matrix
    )

### Value

a list with three elements

- `Beta` a matrix with one column per group and a row for each gene

- `iterations` the number of iterations from the Newton-Raphson method

- `deviances` the deviance for each gene (sum of the deviance per group)

[Package glmGamPoi version 1.6.0 Index]