gwSnpTests {GGtools} | R Documentation

## execute a series of tests for association between genotype and expression

### Description

execute a series of tests for association between genotype and expression

### Usage

    gwSnpTests(sym, sms, ...)
    topSnps(x, n=10)

### Arguments

`sym` | instance of `probeId` or `genesym`
`sms` | instance of `smlSet-class`
`x` | instance of `gwSnpScreenResult`
`n` | integer, number of test results to be reported, sorted decreasing from the most significant
`...` | not used

### Details

The `plot` method for `gwSnpScreenResult` instances takes a second argument, the name of a Bioconductor SNPlocs.* package.

### Value

an instance of the gwSnpScreenResult class, to be examined by `topSnps`

### Note

The most basic application yields one d.f. chi-squared statistics based on score tests.

### Author(s)

VJ Carey <stvjc@channing.harvard.edu>

### Examples

    s20 = getSS("GGtools", "20")
    t1 = gwSnpTests(genesym("CPNE1")~male, s20)
    topSnps(t1)
    ## Not run:
    plot(t1, snplocsDefault())

    ## End(Not run)

[Package GGtools version 5.23.2 Index]