R/combineGates.R

Defines functions combineGates

Documented in combineGates

## ==========================================================================
## append gates to gateSet
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
combineGates <- function(gate, ..., name="gateSet1"){
  arglist <- c(list(gate), list(...))
  if(!all(sapply(arglist, is, "gate")))
     stop("Can only combine 'gate' objects")
  names(arglist) <- sapply(arglist, names)
  return(new("gateSet", name=name, glist=arglist))
}

  

Try the prada package in your browser

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

prada documentation built on April 28, 2020, 7:52 p.m.