Description Usage Arguments Value Author(s) See Also Examples
These generic functions return version information for classes
derived from Versioned-class
, or
VersionsNull-class
for unversioned objects. The
version information is an object of Versions-class
.
By default, classVersion
has the following behaviors:
classVersion(Versioned-instance)
Returns a Versions-class
object obtained from the object.
classVersion{"class"}
Consults the definition of class
and return the current version information, if available.
classVersion(ANY)
Return a VersionsNull-class
object to indicate no version information available.
By default, the classVersion<-
method has the following behavior:
classVersion(Versioned-instance)["id"] <- value
Assign (update or add) value
to Versions-instance
. value
is coerced to a valid version description. see Versions-class
for additional access methods.
1 2 | classVersion(object)
classVersion(object) <- value
|
object |
Object whose version is to be determined, as described above. |
value |
|
classVersion
returns an instance of Versions-class
Biocore team
1 2 3 4 5 6 7 8 9 | obj <- new("VersionedBiobase")
classVersion(obj)
classVersion(obj)["Biobase"]
classVersion(1:10) # no version
classVersion("ExpressionSet") # consult ExpressionSet prototype
classVersion(obj)["MyVersion"] <- "1.0.0"
classVersion(obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.