R/MethylationSet_Initializer.R

setMethod(
  f = "initialize",
  signature = "MethylationSet",
  definition = function(.Object, assayData, ...) {
    if (missing(assayData)){
      assayData <- assayDataNew(storage.mode = "lockedEnvironment",  
                                meth = matrix(ncol = 0, nrow = 0))
    } 
    .Object <- callNextMethod(.Object, assayData = assayData, ...)
    return(.Object)
  })
Bioconductor-mirror/MultiDataSet documentation built on June 26, 2017, 10:25 p.m.