tests/testthat/test_plotDrugSets.R

test_that("plotDrugSets", {
	drugAct <- exprs(getAct(rcellminerData::drugData))
	drugs <- rownames(drugAct)[1:8]
	
	file <- tempfile() 
	
	pdf(file)
	plotDrugSets(drugAct, drugs, "Test")
	dev.off()
	
	expect_true(file.exists(file))
})

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.