Convert-Names-and-Classes: Convert aspect class name to RCX accession

Convert-Names-and-ClassesR Documentation

Convert aspect class name to RCX accession

Description

The aspects in an RCX object are accessed by a name and return the aspect as an object of cls. To simplify the conversion between those, these functions return the corresponding name.

Usage

aspectName2Class(name)

aspectClass2Name(cls)

Arguments

name

character; name of the RCX accession of the Aspect

cls

character; name of the aspect class

Details

The following accessions/classes are available within the standard RCX implementation:

accession name <=> class name

metaData  <=>  MetaDataAspect
nodes  <=>  NodesAspect
edges  <=>  EdgesAspect
nodeAttributes  <=>  NodeAttributesAspect
edgeAttributes  <=>  EdgeAttributesAspect
networkAttributes  <=>  NetworkAttributesAspect
cartesianLayout  <=>  CartesianLayoutAspect
cyGroups  <=>  CyGroupsAspect
cyVisualProperties  <=>  CyVisualPropertiesAspect
cyHiddenAttributes  <=>  CyHiddenAttributesAspect
cyNetworkRelations  <=>  CyNetworkRelationsAspect
cySubNetworks  <=>  CySubNetworksAspect
cyTableColumn  <=>  CyTableColumnAspect```

Value

accession or class name

Examples

aspectName2Class("nodes")
##[1] "NodesAspect"

aspectClass2Name("NodesAspect")
##[1] "nodes"

aspectClasses

subAspectClasses

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