Skip to content

Commit

Permalink
Merge pull request #334 from MarioniLab/devel
Browse files Browse the repository at this point in the history
Fix for #328
  • Loading branch information
MikeDMorgan authored Jun 3, 2024
2 parents 3b6763c + 43c0f9c commit f8cc3d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/testNhoods.R
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,13 @@ testNhoods <- function(x, design, design.df, kinship=NULL,

# I think these need to be logged
offsets <- log(dge$samples$norm.factors)

# if glmm.solver isn't set but is running GLMM
if(is.null(glmm.solver) & isTRUE(is.lmm)){
warning("NULL value for glmm.solver - setting to Fisher. Please set glmm.solver")
glmm.solver <- "Fisher"
}

glmm.cont <- list(theta.tol=max.tol, max.iter=max.iters, solver=glmm.solver)

#wrapper function is the same for all analyses
Expand Down

0 comments on commit f8cc3d6

Please sign in to comment.