tests/testthat/test-geneSim.R

library(DOSE)

context("geneSim")

test_that("geneSim", {
    res <-  sapply(c("Wang", "Lin", "Jiang", "Resnik", "Rel"), function(mm) geneSim('2524', '3070', measure=mm))
    expect_true(all(res >=0) && all(res <=1))
})
GuangchuangYu/DOSE documentation built on Oct. 31, 2024, 9:15 a.m.