Description Usage Arguments Details Value See Also Examples
maturing The GWAS function writes all results, both valid and invalid, to a log file. This function uses heuristics to try to classify rows as suspicious or unsuspicious.
1 | isSuspicious(result, pars = attr(result, "focus"))
|
result |
output from loadResults |
pars |
names of the parameters available in |
OpenMx reports exceptions in the ‘catch1’
column. Any error message in the ‘catch1’ column is
suspicious. Any optimizer status code besides ‘OK’ is
suspicious. It is suspicious if the focal parameter or its
standard error is NA
. If ‘signAdj’ was requested
and it is NA
then suspicion is also aroused.
a vector of logicals for each row of result
indicating suspicion (if TRUE)
Other reporting:
loadResults()
,
plot.gwsemResult()
,
signifGxE()
,
signif()
1 2 3 4 5 6 7 8 | tdir <- tempdir()
dir <- system.file("extdata", package = "gwsem")
pheno <- data.frame(anxiety=rnorm(500))
m1 <- buildItem(pheno, 'anxiety')
GWAS(m1, file.path(dir,"example.bgen"),
file.path(tdir,"out.log"))
r1 <- loadResults(file.path(tdir,"out.log"), "snp_to_anxiety")
r1[isSuspicious(r1, "snp_to_anxiety"),]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.