visualizations
  • 22 Nov 2019
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

visualizations

  • Dark
    Light
  • PDF

Article summary

The visualization attribute of a protocol is an array of objects which contain information for how the Tag.cortex engine renders protocol results to the user.

Overall schema

"visualization": [
  {
    "visualization_type": "numeric-tag", //Mandatory
    "collection": "Ccc ccc ccc", //Optional
    "descriptors": [
      {"focus-mean": "Average value of 'COLLECTION_PLACEHOLDER: VARIABLE_PLACEHOLDER' for cases in the focus cohort ARGUMENT_VALUE(argument_name) (FOCUS_COUNT_PLACEHOLDER entities)"},
      {"background-mean": "Average value of 'VARIABLE_PLACEHOLDER' for all cases (BACKGROUND_COUNT_PLACEHOLDER entities)"}
    ],
    "digits": #, //Optional
    "min": #, //Optional
    "max": # //Optional
  }
]

Was this article helpful?