dNBabundsOld: A score function for the column components of the...

View source: R/F_dNBabunds.R

dNBabundsOldR Documentation

A score function for the column components of the independence model (mean relative abundances)

Description

A score function for the column components of the independence model (mean relative abundances)

Usage

dNBabundsOld(beta, X, reg, thetas, allowMissingness, naId)

Arguments

beta

a vector of length p with current abundance estimates

X

a n-by-p count matrix

reg

a vector of length n with library sizes estimates

thetas

a n-by-p matrix with overdispersion estimates in the rows

allowMissingness

A boolean, are missing values present

naId

The numeric index of the missing values in X

Value

a vector of length p with evaluations of the score function


CenterForStatistics-UGent/RCM documentation built on April 24, 2023, 8:26 p.m.