Learn R Programming

SPAr (version 0.1)

print.SPA: Print out the values and significance of SPA test scores.

Description

This function prints out the numerical values of SPA test statistics and their p-values.

Usage

"print"(x,...)

Arguments

x
an SPA object, result form SPA.I or SPA.I.GE.
...
See print.

References

Fan, R., Lo, S-H (2013). A robust model-free approach for rare variantss association studies incorporating gene-gene and gene-environmental interactions. PLOS ONE 8(12):e83057.

See Also

SPA.I,SPA.I.GE

Examples

Run this code
data(SPA_example)
attach(SPA_example)
I1_dich <- SPA.I(x,y.d,interaction=1,nperm=100) # only compute I1 and its pvalue
print(I1_dich)

Run the code above in your browser using DataLab