dNBlibSizes {RCM} | R Documentation |
A score function for the row components of the independence model (library sizes)
dNBlibSizes(beta, X, reg, thetas, allowMissingness, naId)
beta |
a vector of length n with current library size estimates |
X |
a n-by-p count matrix |
reg |
a vector of length p with relative abundance 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 |
a vector of length n with evaluations of the score function