tests/testthat/test-RUVs.R

context("Test RUVs")

test_that(
  "Case A.1: missing parameters",
  {
    mat = matrix(rnorm(1200), nrow = 12)
    M = mat
    ctl = letters[1:12]
    expect_error(RUVphospho(M = M, ctl = ctl))
    expect_error(RUVphospho(mat = mat, ctl = ctl))
    expect_error(RUVphospho(mat = mat, M = M))
  }
)

Try the PhosR package in your browser

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

PhosR documentation built on Nov. 8, 2020, 6:54 p.m.