tests/testthat/test-cytometry.R

context("Cytometry")

# Tests --------------------------------------------------------
test_that("listWorkspaces", {
  ws <- ALL$listWorkspaces()

  expect_is(ws, "data.table")
  expect_gt(nrow(ws), 0)
})

test_that("listGatingSets", {
  gs <- ALL$listGatingSets()

  expect_is(gs, "data.table")
  expect_gte(nrow(gs), 0)
})

test_that("summarizeCyto", {
  expect_output(ALL$summarizeCyto(), "FCS sample files")
})

# test_that("summarizeGatingSet", {
#
# })

# test_that("loadGatingSet", {
#
# })

Try the ImmuneSpaceR package in your browser

Any scripts or data that you put into this service are public.

ImmuneSpaceR documentation built on Dec. 21, 2020, 2:01 a.m.