computeSignificance {GenoGAM} | R Documentation |
The function computes positionwise p-values
computeSignificance(gg, log.p = FALSE)
gg |
A GenoGAM object. |
log.p |
Should values be returned in log scale? |
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
An updated GenoGAM object, where the pvalue slot is added.
Georg Stricker georg.stricker@in.tum.de
## make test GenoGAM gg <- makeTestGenoGAM() ## compute pvalues computeSignificance(gg) pvalue(gg)