Skip to contents

Retrieves the paths of all molecules defined in the container and all its children

Usage

getAllMoleculePathsIn(container)

Arguments

container

A Container or Simulation used to find the parameters

Value

An array with one entry per molecule defined in the container

See also

loadSimulation(), getContainer() and getAllContainersMatching() to retrieve objects of type Container or Simulation

Examples


simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)

# Returns the path of all molecules defined in the simulation
moleculePaths <- getAllMoleculePathsIn(sim)