GSAfisher.print: GSAfisher.print

Description Usage Arguments Value Author(s) Examples

View source: R/GSAfisher.print.R

Description

Print 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 and prints the result.

Usage

1
2
## S3 method for class 'print'
GSAfisher(x,...)

Arguments

x

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

...

Further arguments passed to or from other methods.

Value

print.p

Displays Fisher method combined pvalue.

Author(s)

Carlos Garcia Prieto

Examples

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

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