R/row.ranksum.R

Defines functions row.ranksum

row.ranksum <-
function(Y,x)  # Y is expression matrix, x is vector of group labels

{
   tres<-apply(Y,1,ranksum.test,x)
   ebp.res<-grenander.ebp(tres[2,])
   res0<-t(tres)
   res<-cbind.data.frame(stat=res0[,1],pval=res0[,2],ebp=ebp.res$ebp)
   return(res)
}

Try the HybridMTest package in your browser

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

HybridMTest documentation built on Nov. 8, 2020, 8:29 p.m.