PEtab-dev / PEtab-dev/PEtab

Visualization: add option to scale data

Open
#501 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question specification change visualization
Dominant language
No language data
Stars
66
Forks
16
Avg merge
3h 2m
Merged PRs (30d)
10

Description

Which problem would you like to address? Please describe.

It would be convenient if there was an option to scale data before plotting. E.g. the time unit in the model might be seconds, but one might want to have hours on the x-axis for plotting.

Describe the solution you would like

One could add an additional field to provide a coefficient for scaling the data. Not sure how to name it. {x,y}Scale are already used for a different purpose.

Not sure how relevant this would be beyound unit conversion. So in case #500 would be addtessed, one could also implement this in terms of providing a unit for the respective axes.

Describe alternatives you have considered

Not using the PEtab visualization table, but creating plots manually.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the PEtab visualization table specification and existing handling of x and y axes. The issue does not name files, entry points, or tests, so first determine where visualization-table fields are defined and validated. Done should include an agreed scaling or unit approach with corresponding specification and test coverage.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.