bp2.get.slot: Read slot values

Description Usage Arguments Value Author(s) Examples

Description

Internal function.

Usage

1
bp2.get.slot(objs, slot.name)

Arguments

objs

List of S4 objects, whose named slot is read

slot.name

Name of the slot to read

Value

List of same length with objs that contains the values for the slot for objs. Return NA instead of list if no objects contained the named slot.

Author(s)

Ossi Koivistoinen

Examples

1
2
my.bp2 <- bp2.create.model(...)
bp2.get.slot(bp2@all.objects, "rdf.id")

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