GSAfisher.default: GSAfisher.default

Description Usage Arguments Value Author(s) References Examples

View source: R/GSAfisher.default.R

Description

Default method of GSAfisher function that computes the p-value for a joint test of association between a phenotype and a set of genetic variants (SNPs) by combining marginal p-values using the Fisher method.

Usage

1
2
## Default S3 method:
GSAfisher(x,...)

Arguments

x

Numeric set of marginal p-values (one vector or a sinlge p-value).

...

Further arguments passed to or from other methods.

Value

p

Fisher method combined p-value.

Author(s)

Carlos Garcia Prieto

References

Fisher, R.A. (1925). Statistical Methods for Research Workers. ISBN 0-05-002170-2.

Examples

1
2
3
4
#Generate 1000 random values from an Uniform distribution U (0, 0.25). 
x<-runif(1000, 0, 0.25)
#Apply the GSAfisher.default function to this data vector.
GSAfisher(x)

GSAfisherCombined documentation built on May 1, 2019, 9:26 p.m.