R/standardizeMatImp.R

Defines functions `standardizeMatImp`

`standardizeMatImp` <-
function(mat.imp,mu=0){
	# requireNamespace("genefilter", quietly=TRUE)
	if(mu<0)
		stop("mu must be non-negative.",call.=FALSE)
	mat.imp<-mat.imp-mu
	stat<-genefilter::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. 8, 2020, 5:23 p.m.