tests/testthat/test_plotDrugActivityRepeats.R

test_that("plotDrugActivityRepeats", {
	file <- tempfile() 
	
	pdf(file)
	plotDrugActivityRepeats("609699")
	dev.off()
	
	expect_true(file.exists(file))
	
	file <- tempfile() 
	
	pdf(file)
	plotDrugActivityRepeats("609699", useZScore=TRUE, maxRepNum=3)
	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.