Skip to content

Commit

Permalink
updated some docs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jr-leary7 committed Sep 29, 2024
1 parent a74e8e6 commit 29179b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: scLANE
Type: Package
Title: Model Gene Expression Dynamics with Spline-based NB GLMs, GEEs, & GLMMs
Title: Model Gene Expression Dynamics with Spline-Based NB GLMs, GEEs, & GLMMs
Version: 0.8.2
Authors@R: c(person(given = "Jack", family = "Leary", email = "j.leary@ufl.edu", role = c("aut", "cre"), comment = c(ORCID = "0009-0004-8821-3269")),
person(given = "Rhonda", family = "Bacher", email = "rbacher@ufl.edu", role = c("ctb", "fnd"), comment = c(ORCID = "0000-0001-5787-476X")))
Expand Down
1 change: 1 addition & 0 deletions R/bootstrapRandomEffects.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#' ranef_sumy <- bootstrapRandomEffects(glmm_mod,
#' id.vec = sim_counts$subject,
#' Y.offset = cell_offset,
#' n.boot = 100L,
#' n.cores = 1L)

bootstrapRandomEffects <- function(glmm.mod = NULL,
Expand Down
2 changes: 1 addition & 1 deletion R/stat_out.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ stat_out <- function(Y = NULL,
N <- length(Y)
reg <- stats::lm.fit(B1, Y)
if (any(is.na(reg$coef))) {
RSS1 <- RSSq1 <- GCV1 <- GCVq1 <- NA
RSS1 <- RSSq1 <- GCV1 <- GCVq1 <- NA_real_
} else {
df1a <- ncol(B1) + pen * (ncol(B1) - 1) / 2 # This matches the earth() package, SAS and Friedman (1991) penalty.
RSS1 <- sum((Y - stats::fitted(reg))^2)
Expand Down

0 comments on commit 29179b3

Please sign in to comment.