Skip to content

Commit

Permalink
Merge pull request #296 from stemangiola/glmmTMB
Browse files Browse the repository at this point in the history
add method glmmTMB
  • Loading branch information
stemangiola committed Sep 17, 2023
2 parents 543c7ee + a02224b commit be98005
Show file tree
Hide file tree
Showing 9 changed files with 444 additions and 41 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Suggests:
pbapply,
pbmcapply,
lme4,
glmmTMB,
MASS
VignetteBuilder:
knitr
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ importFrom(stats,median)
importFrom(stats,model.matrix)
importFrom(stats,na.omit)
importFrom(stats,p.adjust)
importFrom(stats,pchisq)
importFrom(stats,plogis)
importFrom(stats,prcomp)
importFrom(stats,qlogis)
Expand Down
2 changes: 1 addition & 1 deletion R/functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ get_differential_transcript_abundance_glmmSeq <- function(.data,
)

glmmSeq_object |>
summary() |>
summary_lmmSeq() |>
as_tibble(rownames = "gene") |>
mutate(across(starts_with("P_"), list(adjusted = function(x) p.adjust(x, method="BH")), .names = "{.col}_{.fn}")) |>

Expand Down
2 changes: 1 addition & 1 deletion R/functions_SE.R
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ get_differential_transcript_abundance_glmmSeq_SE <- function(.data,
)

glmmSeq_object |>
summary() |>
summary_lmmSeq() |>
as_tibble(rownames = "transcript") |>
mutate(across(starts_with("P_"), list(adjusted = function(x) p.adjust(x, method="BH")), .names = "{.col}_{.fn}")) |>

Expand Down
Loading

0 comments on commit be98005

Please sign in to comment.