R/CbsSegmentationDataSet.R

setConstructorS3("CbsSegmentationDataSet", function(...) {
  extend(SegmentationDataSet(...), "CbsSegmentationDataSet")
})

setMethodS3("byPath", "CbsSegmentationDataSet", function(static, ..., pattern=",chr[0-9]+,.*[.]xdr$") {
  NextMethod("byPath", pattern=pattern)
}, static=TRUE, protected=TRUE)


setMethodS3("byName", "CbsSegmentationDataSet", function(static, ..., chipType, paths="cbsData/") {
  # Argument 'chipType':
  chipType <- Arguments$getCharacter(chipType)

  NextMethod("byName", subdirs=chipType, paths=paths)
}, static=TRUE)
HenrikBengtsson/aroma.core documentation built on Feb. 20, 2024, 9:17 p.m.