pvadjust: P-value adjusting function

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/pvadjust.R

Description

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

Usage

1
pvadjust(pvlist)

Arguments

pvlist

A list containing raw p-values

Details

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

Value

pvlist2

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

Author(s)

David Rocke and Geun-Cheol Lee

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#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,]

LMGene documentation built on April 28, 2020, 8:01 p.m.