Given the estimated gamma distribution parameters for the intensity of contamination in negative control samples, alphaBetaContInPlasma computes the gamma distribution parameters in the plasma sample using the scaling property of the gamma distribution.

alphaBetaContInPlasma(psPlByBlock, psallzeroInNC, blk, alphaBetaNegControl)

Arguments

psPlByBlock

A list of phyloseq objects with plasma samples.

psallzeroInNC

A list of phyloseq objects with all taxa with no prevalence in negative control samples.

blk

Numeric, which block samples to be used.

alphaBetaNegControl

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

Value

A list of estimated distribution parameters for the intensity of contamination in the plasma samples in a selected block.

Note

If all the samples are from one block, create a variable with one block level.

See also