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))
})

Try the DOSE package in your browser

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

DOSE documentation built on Nov. 8, 2020, 7:48 p.m.