inst/tests/test.newCellTypeHierarchy.R

context("newCellTypeHierarchy")

test_that("newCellTypeHierarchy creates a newCellTypeHierarchy", {
  cth <- newCellTypeHierarchy()
  expect_equal(typeof(cth), "S4")
  expect_equal(typeof(cth@classificationTree), "list")
})

Try the monocle package in your browser

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

monocle documentation built on Nov. 8, 2020, 5:06 p.m.