View source: R/utilities-molecule.R
setMoleculeScaleDivisors | R Documentation |
Set molecule scale divisors
setMoleculeScaleDivisors(molecules, values)
molecules |
A single or a list of |
values |
A numeric value that should be assigned to the molecule scale factor or a vector
of numeric values, if the scale factor of more than one molecule should be changed. Must have the same
length as |
getMolecule()
and getAllMoleculesMatching()
to retrieve objects of type Molecule
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)
molecule <- getMolecule("Organism|Liver|A", sim)
setMoleculeScaleDivisors(molecule, 0.001)
molecules <- getAllMoleculesMatching("Organism|**|A", sim)
setMoleculeScaleDivisors(molecules, c(0.002, 0.003))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.