ranktruncated: Rank truncated p-Value procedure...

Description Usage Arguments Details Value Author(s) References Examples

Description

Rank truncated p-Value procedure The program computes the exact distribution and with it the p-Value

Usage

1
ranktruncated(pValues, K, silent=FALSE)

Arguments

pValues

Vector of p-Values (not sorted)

K

the number of hypotheses / p-Values being in w

silent

If true any output on the console will be suppressed.

Details

This function computes the exact distribution of the product of at most K significant p-values of L>K observed p-values. Thus, one gets the pvalue from the exact distribution. This has certain advantages for genomewide association scans: K can be chosen on the basis of a hypothesised disease model, and is independent of sample size. Furthermore, the alternative hypothesis corresponds more closely to the experimental situation where all loci have fixed effects.

Value

Used.pValue: List information about the used pValues; RTP: Test statistic and pValue

Author(s)

Frank Konietschke

References

Dubridge, F., Koeleman, B.P.C. (2003). Rank truncated product of P-values, with application to genomewide association scans. Genet Epidemiol. 2003 Dec;25(4):360-6

Examples

1
2
3
4
pvalues<-runif(10)
result <- ranktruncated(pvalues,K=2,silent=FALSE) # take the K=2 smallest pvalues
result <- ranktruncated(pvalues,K=2,silent=TRUE) # take the K=2 smallest pvalues
result <- ranktruncated(pvalues,K=5,silent=TRUE) # take the K=5 smallest pvalues

mutoss documentation built on May 2, 2019, 2:38 a.m.