tests/testthat/test-load_OrgDb.R

library(GOSemSim)

context("load_OrgDb")

test_that("load OrgDb with package name", {
    db <- load_OrgDb("org.Hs.eg.db")
    expect_true(is(db, "OrgDb"))
})

Try the GOSemSim package in your browser

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

GOSemSim documentation built on Nov. 8, 2020, 4:52 p.m.