tests/testthat/test-readGAF.R

test_that("readGAF() works", {
  d<-readGAF("gene_association_head.goa_ref_human.gz")
  expect_equal(d@numberOfItems, 184)
})

test_that("readGAF() with aspect works", {
  d<-readGAF("gene_association_head.goa_ref_human.gz",aspect="C")
  expect_equal(d@numberOfItems, 149)
})

Try the mgsa package in your browser

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

mgsa documentation built on Nov. 8, 2020, 7:54 p.m.