Skip to content

Commit

Permalink
Update GLiMMPS_functions.R
Browse files Browse the repository at this point in the history
  • Loading branch information
Yungang Xu authored May 28, 2019
1 parent ef63235 commit ad867c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GLiMMPS_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ glmmWald.sQTL <- function(data) {
if ( !( inherits(testglm,"try-error") )) { # only when it converges
betas <-fixef(testglm)
if (!is.na(fixef(testglm)[2])) {
snp.pval <- summary(testglm)@coefs[2,4]
snp.pval <- summary(testglm)$coefficients[2,4]
}
}
#psi.fitted <- results$fitted.value
Expand Down

0 comments on commit ad867c9

Please sign in to comment.