R/gtPopulation-methods.R

Defines functions alias

#' get population name
#' @param x \code{gtPopulation} object
#' @aliases names,gtPopulation-method
setMethod("names", signature = c("gtPopulation"), definition = function(x) {
  x@name
})

# the original S4 method has been suffering from S4 masking issue,thus we keep it as private functioninstead
# get population alias
# @param object \code{gtPopulation} 
#setMethod("alias", signature = c("gtPopulation"), definition = function(object) {
alias <- function(object){
  object@alias
}

 

Try the openCyto package in your browser

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

openCyto documentation built on Nov. 8, 2020, 5:40 p.m.