R/UnitTypesFile.R

###########################################################################/**
# @RdocClass UnitTypesFile
#
# @title "The UnitTypesFile interface class"
#
# \description{
#  @classhierarchy
#
#  A UnitTypesFile provides methods for querying the unit types of
#  a given chip type, e.g. genotyping or copy-number unit, exon unit etc.
# }
# 
# @synopsis
#
# \arguments{
#   \item{...}{Arguments passed to @see "UnitAnnotationDataFile".}
# }
#
# \section{Methods}{
#  @allmethods "public"
# }
#
# \section{The aroma unit-type map}{
#   unknown=0,
#   expression=1,
#   genotyping=2,
#   resequencing=3,
#   tag=4,
#   copynumber=5,
#   genotypingcontrol=6,
#   expressioncontrol=7
# }
#
# @author
#*/###########################################################################
setConstructorS3("UnitTypesFile", function(...) {
  extend(UnitAnnotationDataFile(...), "UnitTypesFile")
})

setMethodS3("getUnitTypes", "UnitTypesFile", abstract=TRUE)

setMethodS3("nbrOfUnits", "UnitTypesFile", function(this, ...) {
  length(getUnitTypes(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 Nov. 16, 2022, 1:07 a.m.