R/exprSubset.R

Defines functions exprSubset

exprSubset <- function(exprSet, subset){
  ## Creates a subset of an ExpressionSet that contains only specified featureNames.
  newSet <- exprSet[featureNames(exprSet) %in% subset, ]
  return(newSet)
}
DoroChilds/TPP documentation built on Oct. 31, 2021, 4:38 a.m.