View source: R/utilities-quantity.R
getMoleculeNameFromQuantity | R Documentation |
Returns the name of the molecule to which the quantity object is associated. The quantity could be the amount of the molecule in a container ('Organism|VenousBlood|Plasma|Aciclovir'), a parameter of the molecule ('Aciclovir|Lipophilicity' or 'Organism|VenousBlood|Plasma|Aciclovir|Concentration'), or an observer ("Organism|PeripheralVenousBlood|Aciclovir|Plasma (Peripheral Venous Blood)").
If the quantity is not associated with a molecule (e.g. 'Organism|Weight'), an error is thrown.
getMoleculeNameFromQuantity(quantity)
quantity |
A |
Name of the molecule the quantity is associated with.
simulation <- loadSimulation(system.file("extdata", "Aciclovir.pkml", package = "ospsuite"))
quantity <- getQuantity(
path = "Organism|PeripheralVenousBlood|Aciclovir|Plasma (Peripheral Venous Blood)",
container = simulation
)
getMoleculeNameFromQuantity(quantity = quantity)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.