Skip to content

Commit

Permalink
Fix motif test
Browse files Browse the repository at this point in the history
  • Loading branch information
timoast committed Jan 16, 2025
1 parent 1eb526c commit 8846770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file removed tests/testdata/motifObj_2_225.rds
Binary file not shown.
5 changes: 2 additions & 3 deletions tests/testthat/test-motifs.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@ test_that("AddMotifs works with fakechr", {
))
skip_if_not_installed("motifmatchr")
motif <- suppressWarnings(AddMotifs(
granges(object)[100:nrow(object)],
granges(object)[1:20],
genome,
pwm,
verbose = FALSE
))
motif <- readRDS("../testdata/motifObj_2_225.rds")
expect_equal(dim(motif), c(225, 2))
expect_equal(dim(motif), c(20, 2))
expect_warning(test <- SetAssayData(
object = object,
layer = "motifs",
Expand Down

0 comments on commit 8846770

Please sign in to comment.