Skip to content

Commit

Permalink
Add geometric testthat
Browse files Browse the repository at this point in the history
  • Loading branch information
ncborcherding committed Apr 5, 2024
1 parent b5c17ad commit 49e6ba6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/testthat/test-runIbex.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,15 @@ test_that("runIbex works with seurat objects", {
tolerance=1e-2
)

ibex_example <- runIbex(ibex_example,
chains = "Heavy",
method = "geometric",
reduction.name = "Heavy_Geometric")

expect_equal(
ibex_example@reductions$Heavy_Geometric@cell.embeddings,
getdata("runIbex", "runIbex_Heavy_geometric_reduction"),
tolerance=1e-2
)

})
Binary file not shown.

0 comments on commit 49e6ba6

Please sign in to comment.