estimate_betas_group_wise: Estimate the Betas for Fixed Dispersions

View source: R/estimate_betas.R

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


const-ae/glmGamPoi documentation built on July 25, 2024, 10:22 p.m.