tests/testthat/test_tenXplore.R

library(tenXplore)

context("ontology processing")

test_that("children compute", {
  library(ontoProc)
  efoOnto = getEFOOnto()
  cc = children_TAG("EFO:0000324", efoOnto) 
  ss = secLevGen("B cell", efoOnto)
  cl = slot(ss, "cleanFrame")
  expect_true(class(ss) == "TermSet")
  expect_true("mature B cell" %in% cl[,1])
})

Try the tenXplore package in your browser

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

tenXplore documentation built on Nov. 8, 2020, 6:47 p.m.