R/AromaUnitGcContentFile.R

setConstructorS3("AromaUnitGcContentFile", function(...) {
  this <- extend(AromaUnitTabularBinaryFile(...), "AromaUnitGcContentFile")

  # Parse attributes (all subclasses must call this in the constructor).
  setAttributesByTags(this)

  this
})


setMethodS3("getFilenameExtension", "AromaUnitGcContentFile", function(static, ...) {
  "ugc"
}, static=TRUE, protected=TRUE)


setMethodS3("getExtensionPattern", "AromaUnitGcContentFile", function(static, ...) {
  "[.](ugc)$"
}, static=TRUE, protected=TRUE)


setMethodS3("getDefaultColumnNames", "AromaUnitGcContentFile", function(this, ...) {
  "gcContent"
}, protected=TRUE)


setConstructorS3("AromaUgcFile", function(...) {
  this <- extend(AromaUnitGcContentFile(...), "AromaUgcFile")

  # Parse attributes (all subclasses must call this in the constructor).
  setAttributesByTags(this)

  this
})

Try the aroma.core package in your browser

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

aroma.core documentation built on June 25, 2024, 1:15 a.m.