tests/testthat/test.newCellTypeHierarchy.R

context("newCellTypeHierarchy")

test_that("newCellTypeHierarchy creates a newCellTypeHierarchy", {
  cth <- newCellTypeHierarchy()
  expect_equal(typeof(cth), "S4")
  expect_equal(typeof(cth@classificationTree), "list")
})
cole-trapnell-lab/monocle-release documentation built on May 13, 2019, 8:50 p.m.