Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RGLab/CytoML
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejiang committed Apr 9, 2020
2 parents b629fcb + b33badb commit 1010dc6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/testthat/flowjo2gs_internalTestSuite.R
Original file line number Diff line number Diff line change
Expand Up @@ -808,3 +808,12 @@ test_that("search_for_fcs logic", {

})

test_that("magnetic gates", {
thisPath <- file.path(path, "magnetic")
ws <- open_flowjo_xml(file.path(thisPath, "2020-03-11 CyTOF gating strategy_dummy.wsp"))
gs <- flowjo_to_gatingset(ws, name = 1)
thisCounts <- gh_pop_compare_stats(gs[[1]])
# Give a little cushion to frequency tolerance due to small subsample
expect_equal(thisCounts[, xml.freq], thisCounts[, openCyto.freq], tol = 2e-2)
})

0 comments on commit 1010dc6

Please sign in to comment.