BioSimulators recommends Vega
One key feature of Vega is that it modularly captures the graphical marks which comprise visualizations and how those graphical marks should be painted with data. This feature makes it easy to produce data visualizations for multiple simulation conditions by combining the same graphical marks with results from multiple simulations. This features also makes the provenance of data visualizations transparent. As a result, Vega is ideal for collaboration and publication.
Below, we provide recommendations for using Vega to visualize the results of simulation experiments described with SED-ML.
BioSimulators recommends creating Vega visualizations for simulation results as follows:
Indicate the Vega signals whose attributes should be rendered with the values of the attributes of SED-ML simulations.
value of a Vega signal with information
from a SED-ML file, add the key sedmlUri to the Vega
signal.
bind attribute of a
Vega signal with information from a SED-ML file, set the value of
the attribute equal to a dictionary with a single key
sedmlUri.
The value of each sedmlUri key should be a list of the
location of the SED-ML document, the id of the SED-ML simulation or
report, and the name of the attribute of the simulation or report
that the value of the signal or attribute of the bind attribute of
the signal should be rendered with (e.g.,
['location/of/simulation.sedml', 'simulationId',
'numberOfSteps']). To indicate that a sedmlUri key should be rendered
with a list of the values of an attribute of multiple simulations or
reports, use SedDocument:*, Simulation:*,
or Report:* for the SED-ML document location or
simulation/report id (e.g.,
['SedDocument:*', 'Report:*', 'id'] to render an
attribute with a list of the ids of the all of the reports of all of
the SED-ML files in the COMBINE/OMEX archive).
sedmlUri to
such Vega datas. The values of these keys should be set as follows:
sedmlUri should be set to an empty array
([]).
sedmlUri should be set to a list of the
location of the SED-ML document and the id of the SED-ML report
(e.g., ['location/of/simulation.sedml', 'reportId']).
http://purl.org/NET/mediatypes/application/vnd.vega.v5+json.
Simulation software tools, such as RunBioSimulations, should render such Vega visualizations linked to SED-ML files in COMBINE/OMEX archives as illustrated below:
http://purl.org/NET/mediatypes/application/vnd.vega.v5+json).
sedmlUri).
Example rendered Vega document (Vega document with data sets replaced
with the values of SED-ML reports)
Several example COMBINE/OMEX archives with Vega visualizations are
available here
Below are helpful tools for creating Vega visualizations: