setExtension: Set or register an RCX extension

View source: R/AspectDependencies.R

setExtensionR Documentation

Set or register an RCX extension

Description

To simplify the usage of extension of the RCX data model new extensions can easily registered on load with this function. Registered extension then automatically are used for the conversion of CX data containing aspects of these extensions. The accession names and classes then are also added to getAspectClasses.

Usage

setExtension(package, accession, className)

Arguments

package

character; name of the extension package

accession

character; accession name used in RCX (e.g. rcx$accessionName)

className

character; class name of the aspect (e.g. is(rcx$accessionName, "AccessionNameAspect"))

Value

options()$RCX.options$extensions

See Also

aspectClasses

Examples

## Not run: 
setExtension("RCXMyRcxExtension", "myRcxExtension", "MyRcxExtensionAspect")

## End(Not run)

frankkramer-lab/RCX documentation built on Feb. 4, 2023, 5:12 p.m.