R/ngenes.matrix.R

Defines functions `ngenes.matrix`

`ngenes.matrix` <-
 function(pn, i=NULL) {
  if (is.null(i)) {
    if (has.ngenes.attr(pn))
      return(attr(pn,"ngenes"))
    else if (has.numGenes.attr(pn))
      return(attr(pn,"numGenes"))
    else
      return(NULL)
  }
  else
    return(ngenes(pn)[i])
}

Try the goProfiles package in your browser

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

goProfiles documentation built on Nov. 8, 2020, 8:12 p.m.