@@ -78,9 +78,6 @@ format (Figure 2), including:
7878- (optional) A simulation file, which has the same format as the measurement
7979 file, but containing data generated by model simulations [TSV].
8080
81- - (optional) A visualization file defining how data and/or simulations should
82- be plotted [TSV].
83-
8481- (optional) A :ref: `mapping file <v2_mapping_table >` which allows mapping
8582 PEtab entity IDs to entity IDs in the model, which might not have valid
8683 PEtab IDs themselves, and to provide additional annotations [TSV].
@@ -162,6 +159,10 @@ PEtab 2.0.0 is a major update of the PEtab format. The main changes are:
162159 clearer. The ``log10 `` transformation has been removed, since this was mostly
163160 relevant for visualization purposes, and the same effect can be achieved by
164161 rescaling the parameters of the respective (natural) log-distributions.
162+ * The visualization table has been removed. The PEtab v1 visualization table
163+ was not well-defined and not widely used. Visualization is handled by the
164+ PEtab Python library which also provides documentation on the respective
165+ input format.
165166
166167.. _v2_model :
167168.. _v2_model_entities :
@@ -453,20 +454,7 @@ order:
453454| ... | ... | ... |
454455+-----+----------------------------------------------------+----------------------------------------------------+
455456
456- Additional (non-standard) columns may be added. If the additional plotting
457- functionality of PEtab should be used, such columns could be
458-
459- +-----+-------------+---------------+
460- | ... | [datasetId] | [replicateId] |
461- +=====+=============+===============+
462- | ... | [datasetId] | [replicateId] |
463- +-----+-------------+---------------+
464- | ... | ... | ... |
465- +-----+-------------+---------------+
466-
467- where ``datasetId `` is a necessary column to use particular plotting
468- functionality, and ``replicateId `` is optional, which can be used to group
469- replicates and plot error bars.
457+ Additional (non-standard) columns may be added.
470458
471459
472460Detailed field description
@@ -534,20 +522,6 @@ Detailed field description
534522 Numeric values or parameter names are allowed. Same rules apply as for
535523 ``observableParameters `` in the previous point.
536524
537- - ``datasetId `` [STRING, OPTIONAL]
538-
539- The datasetId is used to group certain measurements to datasets. This is
540- typically the case for data points which belong to the same observable,
541- the same experiment, the same noise model,
542- the same observable transformation and the same observable parameters.
543- This grouping makes it possible to use the plotting routines that are
544- provided by the PEtab Python library.
545-
546- - ``replicateId `` [STRING, OPTIONAL]
547-
548- The replicateId can be used to discern replicates with the same
549- ``datasetId ``, which is helpful for plotting e.g. error bars.
550-
551525.. _v2_observables_table :
552526
553527Observables table
@@ -916,136 +890,6 @@ then the following prior distributions are supported:
916890 \pi(x|a, b) = \frac{1}{b - a}
917891 - :math: `[a, b]`
918892
919-
920- .. _v2_visualization_table :
921-
922- Visualization table
923- -------------------
924-
925- A tab-separated value file containing the specification of the visualization
926- routines which come with the PEtab repository. Plots are in general
927- collections of different datasets as specified using their ``datasetId `` (if
928- provided) inside the measurement table.
929-
930- Expected to have the following columns in any (but preferably this)
931- order:
932-
933- +--------+------------+-------------------------------------------+------------------------------------------------------+
934- | plotId | [plotName] | [plotTypeSimulation] | [plotTypeData] |
935- +========+============+===========================================+======================================================+
936- | STRING | [STRING] | [LinePlot(default)\| BarPlot\| ScatterPlot] | [MeanAndSD(default)\| MeanAndSEM\| replicate;provided] |
937- +--------+------------+-------------------------------------------+------------------------------------------------------+
938- | ... | ... | ... | ... |
939- +--------+------------+-------------------------------------------+------------------------------------------------------+
940-
941- *(wrapped for readability) *
942-
943- +-----+-------------+-------------------------------------+-----------+----------+--------------------------+
944- | ... | [datasetId] | [xValues] | [xOffset] | [xLabel] | [xScale] |
945- +=====+=============+=====================================+===========+==========+==========================+
946- | ... | [datasetId] | [time(default)\| parameterOrStateId] | [NUMERIC] | [STRING] | [lin\| log\| log10\| order] |
947- +-----+-------------+-------------------------------------+-----------+----------+--------------------------+
948- | ... | ... | ... | ... | ... | ... |
949- +-----+-------------+-------------------------------------+-----------+----------+--------------------------+
950-
951- *(wrapped for readability) *
952-
953- +-----+----------------+-----------+----------+-------------------+---------------+
954- | ... | [yValues] | [yOffset] | [yLabel] | [yScale] | [legendEntry] |
955- +=====+================+===========+==========+===================+===============+
956- | ... | [observableId] | [NUMERIC] | [STRING] | [lin\| log\| log10] | [STRING] |
957- +-----+----------------+-----------+----------+-------------------+---------------+
958- | ... | ... | ... | ... | ... | ... |
959- +-----+----------------+-----------+----------+-------------------+---------------+
960-
961-
962- Detailed field description
963- ~~~~~~~~~~~~~~~~~~~~~~~~~~
964-
965- - ``plotId `` [STRING, REQUIRED]
966-
967- An ID which corresponds to a specific plot. All datasets with the same
968- plotId will be plotted into the same axes object.
969-
970- - ``plotName `` [STRING, OPTIONAL]
971-
972- A name for the specific plot.
973-
974- - ``plotTypeSimulation `` [STRING, OPTIONAL]
975-
976- The type of the corresponding plot, can be ``LinePlot ``, ``BarPlot `` and ``ScatterPlot ``. Default is ``LinePlot ``.
977-
978- - ``plotTypeData `` [STRING, OPTIONAL]
979-
980- The type how replicates should be handled, can be ``MeanAndSD ``,
981- ``MeanAndSEM ``, ``replicate `` (for plotting all replicates separately), or
982- ``provided `` (if numeric values for the noise level are provided in the
983- measurement table). Default is ``MeanAndSD ``.
984-
985- - ``datasetId `` [STRING, REFERENCES(measurement.datasetId), OPTIONAL]
986-
987- The datasets which should be grouped into one plot.
988-
989- - ``xValues `` [STRING, OPTIONAL]
990-
991- The independent variable, which will be plotted on the x-axis. Can be
992- ``time `` (default, for time resolved data), or it can be ``parameterOrStateId ``
993- for dose-response plots. The corresponding numeric values will be shown on
994- the x-axis.
995-
996- - ``xOffset `` [NUMERIC, OPTIONAL]
997-
998- Possible data-offsets for the independent variable (default is ``0 ``).
999-
1000- - ``xLabel `` [STRING, OPTIONAL]
1001-
1002- Label for the x-axis. Defaults to the entry in ``xValues ``.
1003-
1004- - ``xScale `` [STRING, OPTIONAL]
1005-
1006- Scale of the independent variable, can be ``lin ``, ``log ``, ``log10 `` or ``order ``.
1007- The ``order `` value should be used if values of the independent variable are
1008- ordinal. This value can only be used in combination with ``LinePlot `` value for
1009- the ``plotTypeSimulation `` column. In this case, points on x axis will be
1010- placed equidistantly from each other. Default is ``lin ``.
1011-
1012- - ``yValues `` [observableId, REFERENCES(measurement.observableId), OPTIONAL]
1013-
1014- The observable which should be plotted on the y-axis.
1015-
1016- - ``yOffset `` [NUMERIC, OPTIONAL]
1017-
1018- Possible data-offsets for the observable (default is ``0 ``).
1019-
1020- - ``yLabel `` [STRING, OPTIONAL]
1021-
1022- Label for the y-axis. Defaults to the entry in ``yValues ``.
1023-
1024- - ``yScale `` [STRING, OPTIONAL]
1025-
1026- Scale of the observable, can be ``lin ``, ``log ``, or ``log10 ``. Default is ``lin ``.
1027-
1028- - ``legendEntry `` [STRING, OPTIONAL]
1029-
1030- The name that should be displayed for the corresponding dataset in the
1031- legend and which defaults to the value in ``datasetId ``.
1032-
1033- Extensions
1034- ~~~~~~~~~~
1035-
1036- Additional columns, such as ``Color ``, etc. may be specified. Extensions
1037- that define operations on multiple PEtab problems need to employ a single
1038- PEtab YAML file as entrypoint to the analysis. This PEtab file may leave all
1039- fields specifying files empty and reference the other PEtab problems in the
1040- extension specific fields.
1041-
1042- Examples
1043- ~~~~~~~~
1044-
1045- Examples of the visualization table can be found in the
1046- `Benchmark model collection <https://github.com/Benchmarking-Initiative/Benchmark-Models-PEtab/ >`_, for example in the `Chen_MSB2009 <https://github.com/Benchmarking-Initiative/Benchmark-Models-PEtab/tree/master/Benchmark-Models/Chen_MSB2009 >`_
1047- model.
1048-
1049893.. _v2_mapping_table :
1050894
1051895Mapping table
0 commit comments