inst/unitTests/test_RGSEAsd.R

test_RGSEAsd<-function(){
    set.seed(1)
    
	data(cmap)
	checkTrue(which.max(RGSEAsd(cmap[,1],cmap[,2:6], 
         queryclasses=colnames(cmap)[1], 
         refclasses=colnames(cmap)[2:6], 
         random=5000, sd=2, iteration=100)[[1]])==3)
}

Try the RGSEA package in your browser

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

RGSEA documentation built on Nov. 8, 2020, 8:25 p.m.