inst/unitTests/test_DEsubs.R

test_DEsubs <- function() 
{
   message('Testing DEsubs...', appendLF=FALSE)

	load(system.file('extdata', 'data.RData', package='DEsubs'))

	DEsubs.run <- DEsubs(   org='hsa', 
	                        mRNAexpr=mRNAexpr, 
	                        mRNAnomenclature='entrezgene', 
	                        pathways='All', 
	                        DEtool=NULL, 
	                        DEpar=0.05,
	                        CORtool='pearson', 
	                        CORpar=0.6, 
	                        subpathwayType=NULL,
	                        rankedList=rankedList)

   all.equal(DEsubs.run, DEsubs.out)

   message('done.')
}

Try the DEsubs package in your browser

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

DEsubs documentation built on Nov. 8, 2020, 8:31 p.m.