Learn R Programming

Biobase (version 2.32.0)

VersionedBiobase: Class "VersionedBiobase"

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.

Arguments

Methods

set Versioned-class for methods.

See Also

Versioned-class

Examples

Run this code

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")

Run the code above in your browser using DataLab