R/aveExprs.R

"aveExprs" <-
function(x, ind.cla, subgene){
  subx <- x[match(subgene, rownames(x)),ind.cla]
  return(rowMeans(subx))
}

Try the pcot2 package in your browser

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

pcot2 documentation built on Nov. 8, 2020, 5:08 p.m.