Skip to content

Commit 671eeb3

Browse files
committed
fixed failing tests caused by previous commit
1 parent 4dc10cd commit 671eeb3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

R/testDynamic.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#' @param approx.knot (Optional) Should the knot space be reduced in order to improve computation time? Defaults to TRUE.
3232
#' @param n.potential.basis.fns (Optional) The maximum number of possible basis functions. See the parameter \code{M} in \code{\link{marge2}}. Defaults to 5.
3333
#' @param n.cores (Optional) If running in parallel, how many cores should be used? Defaults to 4L.
34-
#' @param glm.backend (Optional) Character specifying which GLM-fitting backend should be used. Must be one of "MASS" or "speedglm". Defaults to "MASS".
3534
#' @param verbose (Optional) A boolean indicating whether a progress bar should be printed to the console. Defaults to TRUE.
3635
#' @param random.seed (Optional) The random seed used to initialize RNG streams in parallel. Defaults to 312.
3736
#' @details
@@ -74,7 +73,6 @@ testDynamic <- function(expr.mat = NULL,
7473
random.seed = 312) {
7574
# check inputs
7675
if (is.null(expr.mat) || is.null(pt)) { stop("You forgot some inputs to testDynamic().") }
77-
if (!glm.backend %in% c("MASS", "speedglm")) { stop("Please choose a valid GLM backend for model fitting.") }
7876

7977
# get raw counts from SingleCellExperiment or Seurat object & transpose to cell x gene dense matrix
8078
if (is.null(genes)) {
@@ -192,8 +190,7 @@ testDynamic <- function(expr.mat = NULL,
192190
cor.structure = cor.structure,
193191
sandwich.var = ifelse(is.null(gee.bias.correction.method), FALSE, TRUE),
194192
M = n.potential.basis.fns,
195-
approx.knot = approx.knot,
196-
glm.backend = glm.backend,
193+
approx.knot = approx.knot,
197194
return.basis = TRUE)
198195
}, silent = TRUE)
199196
} else if (is.glmm) {

man/testDynamic.Rd

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)