tests/testthat/test-classes.R

#Make sure our special generics are actually defined as generic.
test_that("generics", {
	expect_true(isGeneric("transform"))
    expect_true(isGeneric("%in%"))
	#Actually resolve a method
    expect_true(hasMethod("%in%",c("flowFrame","rectangleGate")))
    expect_true(hasMethod("%in%",c("flowFrame","rectangleGate")))
    
})

Try the flowCore package in your browser

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

flowCore documentation built on May 11, 2018, 6:01 p.m.