dot-createAttributeAspect: Create a default *AttributeAspect

.createAttributeAspectR Documentation

Create a default *AttributeAspect

Description

Some aspects like NodeAttributesAspect or EdgeAttributesAspect use a key-value scheme. This function helps in constructing while avoiding repetition.

Usage

.createAttributeAspect(
  propertyOf,
  name,
  value,
  dataType,
  isList,
  subnetworkId = NULL,
  .log = ""
)

Arguments

propertyOf

integer; refers to the IDs of an other aspect

name

character; key of the attribute

value

character; value of the attribute

dataType

character (optional);

isList

logical (optional);

subnetworkId

integer (optional); CySubNetworks

Value

*AttributeAspect prototype object

Note

Internal function only for convenience

See Also

.mergeIdAspect, .mergeAttributesAspect, CySubNetworks

Examples

NULL

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