computeSignificance: computeSignificance

Description Usage Arguments Details Value Author(s) Examples

View source: R/pvals.R

Description

The function computes positionwise p-values

Usage

1

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 [email protected]

Examples

1
2
3
4
5
## make test GenoGAM
gg <- makeTestGenoGAM()
## compute pvalues
computeSignificance(gg)
pvalue(gg)

GenoGAM documentation built on Dec. 7, 2018, 6 p.m.