bp2.find: Find bp2 model objects by slot values

Description Usage Arguments Value Author(s) Examples

Description

Find bp2 model objects that have particular value in particular slot. The slot must exists in the object.

Usage

1
bp2.find(objs, slotName, slotValue)

Arguments

objs

List of objects or vector of object ids to search

slotName

The slot to search

slotValue

The value the slot must contain

Value

Subset of objs that match the condition.

Author(s)

Ossi Koivistoinen

Examples

1
2
controls <- bp2.get.instances.of(my.bp2@all.objects, "bp2.control")
activations <- bp2.find(controls, "controlType", "\"ACTIVATION^^<http://www.w3.org/2001/XMLSchema#string>\"")

microbiome/biopax2 documentation built on May 22, 2019, 9:56 p.m.