Computes the gamma distribution parameters for the intensity of contamination using negative control samples in each block.

alphaBetaNegControl(psNCbyBlock, stringent = FALSE)

Arguments

psNCbyBlock

A list of phyloseq objects with all negative control samples in each block.

stringent

Logical, TRUE/FALSE: (i) TRUE use the sample mean of non-zero abundances in the negative control samples for the taxa with mean less than 1, and (ii) FALSE use the less than one mean.

Value

A list of estimated distribution parameters for the intensity of contamination in negative control samples.

Examples

if (FALSE) { alphaBetaNegControl(psNCByBlock) }