tests/testthat/test_plotRBPCurve.R

context("plotRBPCurve")

test_that("plotRBPCurve", {
  for (i in tf) {
    plotRBPCurve(obj, cond.axis = i)
    plotRBPCurve(obj, add = TRUE, col = 2) 
  }
  dev.off()
  expect_error(plotRBPCurve(obj, add=TRUE), "plot.new has not been called yet")
})

Try the RBPcurve package in your browser

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

RBPcurve documentation built on May 1, 2019, 6:31 p.m.