R/getAttributesNames-methods.R

#' @rdname getAttributesNames-methods
#' @aliases getAttributesNames,Experiment-method
setMethod(
    "getAttributesNames",
    signature = "Experiment",
    def = function(object){
        res <- attributes(object)
        names(res)
    }
)
    
#' @rdname getAttributesNames-methods
#' @aliases getAttributesNames,Gene-method
setMethod(
    "getAttributesNames",
    signature = "Gene",
    def = function(object){
        res <- attributes(object)
        names(res)
    }
)
Lagaillette/RRicePackage documentation built on May 29, 2019, 2:04 p.m.