Learn R Programming

MCMC.qpcr (version 1.2.4)

padj.hpdsummary: Adjusts p-values within an HPDsummary() object for multiple comparisons

Description

Replaces raw p-values in an object returned by HPDsummary() by adjusted p-values corrected for multiple comparisons. Disregards the entries corresponding to control genes.

Usage

padj.hpdsummary(hpdsumm, controls = NULL, method = "BH")

Arguments

hpdsumm

Output of HPDsummary()

controls

A vector of control gene names

method

p-value correction method (see function p.adjust), default is Benjamini-Hochberg

Value

HPDsummary object with original p-values replaced by the corrected ones.

References

Matz MV, Wright RM, Scott JG (2013) No Control Genes Required: Bayesian Analysis of qRT-PCR Data. PLoS ONE 8(8): e71448. doi:10.1371/journal.pone.0071448