R/standardizeMatImp.R

`standardizeMatImp` <-
function(mat.imp,mu=0){
	require(genefilter)
	if(mu<0)
		stop("mu must be non-negative.",call.=FALSE)
	mat.imp<-mat.imp-mu
	stat<-rowttests(mat.imp)$statistic
	stat[is.infinite(stat)]<-NA
	stat
}

Try the logicFS package in your browser

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

logicFS documentation built on Nov. 17, 2017, 10:18 a.m.