class.VersionedBiobase: Class "VersionedBiobase"

Description Methods Author(s) See Also Examples

Description

Use this class as a ‘superclass’ for classes requiring information about versions. By default, the class contains versions for R and Biobase. See Versioned-class for additional details.

Methods

set Versioned-class for methods.

Author(s)

Biocore

See Also

Versioned-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
obj <- new("VersionedBiobase")
classVersion(obj)

obj <- new("VersionedBiobase", versions=list(A="1.0.0"))
classVersion(obj)

A <- setClass("A", contains="VersionedBiobase")

classVersion("A")
a <- A()
classVersion(a)

obj <- new("VersionedBiobase", versions=c(MyVersion="1.0.0"))
classVersion(obj)

B <- setClass("B", contains="VersionedBiobase",
         prototype=prototype(new("VersionedBiobase",versions=list(B="1.0.0"))))

classVersion("B")
b <- B()
classVersion(b)

removeClass("A")
removeClass("B")

Bioconductor/Biobase documentation built on June 16, 2018, 10:46 p.m.