Learn R Programming

LMGene (version 2.28.0)

pvadjust: P-value adjusting function

Description

This function converts the given raw p-values into the FDR adjusted p-values using R package 'multtest'.

Usage

pvadjust(pvlist)

Arguments

pvlist
A list containing raw p-values

Value

pvlist2
A list with the raw p-values and the newly computed FDR adjusted p-values

Details

pvlist is the output from genediff containing p-values from gene-specific MSE's and posterior MSE's.

References

David M. Rocke (2004), Design and analysis of experiments with high throughput biological assay data, Seminars in Cell & Developmental Biology, 15, 703-713.

http://www.idav.ucdavis.edu/~dmrocke/

See Also

genediff

Examples

Run this code
#library
library(Biobase)
library(LMGene)

#data
data(sample.mat)
data(vlist)
LoggedSmpd0<-neweS(lnorm(log(sample.mat)),vlist)

pvlist<-genediff(LoggedSmpd0)
pvlist$Posterior[1:5,]

apvlist<-pvadjust(pvlist)
names(apvlist)
apvlist$Posterior.FDR[1:5,]


Run the code above in your browser using DataLab