tests/testthat/test_getMolDataType.R

test_that("getMolDataType output is correct", {
	
	expect_identical(unname(getMolDataType(c("expTP53", "copMDM2", "mutCHEK2", "mutBRAF"))),
									 c("exp", "cop", "mut", "mut"))
	
	expect_identical(unname(getMolDataType("expSLFN11")), "exp")
	
})

Try the rcellminer package in your browser

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

rcellminer documentation built on Nov. 26, 2020, 2:02 a.m.