tests/testthat/ignore_plotStructuresFromNscs.R

test_that("plotStructuresFromNscs", {
	drugAnnot <- as(featureData(getAct(rcellminerData::drugData)), "data.frame")
	file <- tempfile() 
	
	pdf(file)
	plotStructuresFromNscs("94600")
	dev.off()
	
	expect_true(file.exists(file))
	
	file <- tempfile() 
	
	pdf(file)
	plotStructuresFromNscs(c("609699", "94600"))
	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.