delayed_initialization: Initialize the parameters of a Negative Binomial regression...

View source: R/newFit.R

delayed_initializationR Documentation

Initialize the parameters of a Negative Binomial regression model with a DelayedArray object

Description

It initialize gamma and beta using a Ridge Regression and W and alpha using PCA

Usage

delayed_initialization(cluster, children, model, verbose, Y)

Arguments

cluster

The PSOCK cluster

children

Number of child process.

model

The newmodel object

verbose

Print proc time

Y

Is the data matrix

Value

It does not return anything, the parameters are update internally as these are shared object


fedeago/NewWave documentation built on March 28, 2022, 5:46 a.m.