tests/testthat/test_guessAssembly.R

test_that("guessAssembly works not correct", {
    assembly <- enhancerHomologSearch:::guessAssembly(Hsapiens)
    expect_is(assembly, "character")
    expect_equal(assembly, c("GRCh38", "hg38"))

    assembly <- enhancerHomologSearch:::guessAssembly(Mmusculus)
    expect_equal(assembly, c("GRCm38", "mm10"))
})
jianhong/enhancerHomologSearch documentation built on Nov. 4, 2024, 8:29 p.m.