tests/testthat/test-findPathwaysByXref.R

library(rWikiPathways)
context("Search")

test_that("find by Xref", {
  pathways = findPathwaysByXref('ENSG00000232810','En')
  expect_gt(length(pathways), 0)
})

test_that("find by Xref (again)", {
  pathways = findPathwaysByXref(identifier="ENSG00000232810", systemCode="En")
  expect_gt(length(pathways), 0)
})

Try the rWikiPathways package in your browser

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

rWikiPathways documentation built on Feb. 28, 2021, 2:01 a.m.