Skip to content

Commit

Permalink
Change cntrst argument back in test_de unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
const-ae committed May 29, 2024
1 parent ac68611 commit 6ed529e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-test_de.R
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ test_that("test_de works with compute_lfc_se", {
annot <- data.frame(group = sample(c("A", "B"), size = 10, replace = TRUE),
cont1 = rnorm(10), cont2 = rnorm(10, mean = 30))
design <- model.matrix(~ group + cont1 + cont2, data = annot)
cntrst <- c(0, -1, 0, 1)
cntrst <- c(0, -1, 0, 0)
fit <- glm_gp(Y, design = design, overdispersion_shrinkage = TRUE, size_factors = "ratio")
res <- test_de(fit, contrast = cntrst,
compute_lfc_se=TRUE)
Expand Down

0 comments on commit 6ed529e

Please sign in to comment.