Description Usage Arguments Value Author(s) See Also Examples
Returns instances of only one class from a list of objects of many different classes
1 | bp2.get.instances.of(objs, desired.class.names)
|
objs |
List of objects or object ids |
desired.class.names |
Vector of character strings containing the names of classes to select |
Sublist of objs containg objects or object ids of particular class. The type of return value is the same than type of objs
argument.
Ossi Koivistoinen
1 2 | my.bp2 <- bp2.create.model(...)
proteins <- bp2.get.instances.of(my.bp2@all.objects, "bp2.protein")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.