View source: R/utilities-container.R
getContainer | R Documentation |
Retrieve a single container by path under the given container
getContainer(path, container, stopIfNotFound = TRUE)
path |
A string representing the path relative to the |
container |
A Container or Simulation used to find the containers |
stopIfNotFound |
Boolean. If |
The Container
with the given path. If the container for the path
does not exist, an error is thrown if stopIfNotFound
is TRUE (default),
otherwise NULL
loadSimulation()
and getContainer()
to create objects of type Container or Simulation
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)
container <- getContainer("Organism|Liver", sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.