referredBy: List the aspects that are refered by an other aspect

referredByR Documentation

List the aspects that are refered by an other aspect

Description

This function returns a list of all aspects with all present aspects, that refer to it. As example, the aspect NodesAspect is refered by the property source and target of the EdgesAspect aspect.

Usage

referredBy(rcx, aspectClasses = getAspectClasses())

Arguments

rcx

an object of one of the aspect classes (e.g. NodesAspect, EdgesAspect, etc.)

aspectClasses

named character; accession names and aspect classes aspectClasses

Value

named list; Aspect class names with names of aspect classes, that refer to them.

Note

Uses hasIds() and refersTo() to determine the referring aspects.

See Also

hasIds(), idProperty(), refersTo(), maxId()

Examples

nodes = createNodes(name = c("ĆDK1","CDK2","CDK3"))
edges = createEdges(source = c(0,0), target = c(1,2))
rcx = createRCX(nodes = nodes, edges = edges)

referredBy(rcx)

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