R/GrpMean.R

Defines functions GrpMean

Documented in GrpMean

GrpMean<-
function(data.grps,data,phenotype.ids)
                {	
                 affy.ids=unlist(data.grps)                 
                 results=apply(data[affy.ids,phenotype.ids],2,mean)
                 return(results)
                }

Try the BAGS package in your browser

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

BAGS documentation built on Nov. 8, 2020, 11:11 p.m.