computeSignificance {GenoGAM} | R Documentation

## computeSignificance

### Description

The function computes positionwise p-values

### Usage

    computeSignificance(gg, log.p = FALSE)

### Arguments

`gg` | A GenoGAM object.
`log.p` | Should values be returned in log scale?

### Details

Note, that in case the data is stored in HDF5 format, the pvalue 'group' is added on hard drive. That is, unlike any other function in R, where the input object is not changed, it actually is in this case. If one wishes to have HDF5 data without the pvalue 'group', one has to backup the HDF5 files prior to computation or delete them after with `rhdf5::h5delete`

### Value

An updated GenoGAM object, where the pvalue slot is added.

### Author(s)

Georg Stricker georg.stricker@in.tum.de

### Examples

    ## make test GenoGAM
    gg <- makeTestGenoGAM()
    ## compute pvalues
    computeSignificance(gg)
    pvalue(gg)

[Package GenoGAM version 2.10.0 Index]