All Projects → covince → covince

covince / covince

Licence: MIT license
Tool for visualising viral lineages in space and time. As seen on covid19.sanger.ac.uk and covglobe.org.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to covince

iterated-function-systems
Iterated Function Systems fractals with OCaml.
Stars: ✭ 33 (+175%)
Mutual labels:  visualisation
Animations-with-Matplotlib
Using the matplotlib library to create some interesting animations.
Stars: ✭ 42 (+250%)
Mutual labels:  visualisation
notebook-examples
Example notebooks showing how to work with ECMWF services and data
Stars: ✭ 103 (+758.33%)
Mutual labels:  visualisation
TrajSuite
TrajSuite is a cross-platform Java application that provides a suite of trajectory data-mining and visualisation features.
Stars: ✭ 15 (+25%)
Mutual labels:  visualisation
ltr-tools
Set of command line tools for Learning To Rank
Stars: ✭ 13 (+8.33%)
Mutual labels:  visualisation
scenery
Flexible VR Visualisation for Volumetric and Geometric Data on the Java VM, powered by Kotlin and Vulkan
Stars: ✭ 107 (+791.67%)
Mutual labels:  visualisation
Simulizer
A MIPS (R3000) Processor Emulator and Visualisation tool
Stars: ✭ 28 (+133.33%)
Mutual labels:  visualisation
interactive-gp-visualization
Interactive visualization of Gaussian processes
Stars: ✭ 133 (+1008.33%)
Mutual labels:  visualisation
workshop
Workshop: Micromagnetics with Ubermag
Stars: ✭ 19 (+58.33%)
Mutual labels:  visualisation
downsample
Collection of several downsampling methods for time series visualisation purposes.
Stars: ✭ 50 (+316.67%)
Mutual labels:  visualisation
BigComputeLabs
Big Compute Learning Labs
Stars: ✭ 19 (+58.33%)
Mutual labels:  visualisation
NBA-Shot-Charts
Create NBA shot charts using data scrapped from stats.nba.com and R package ggplot2.
Stars: ✭ 33 (+175%)
Mutual labels:  visualisation
desh-data
Sequence lineage information extracted from RKI sequence data repo
Stars: ✭ 22 (+83.33%)
Mutual labels:  lineages
midi-recorder
🎹 The easiest way to record MIDI. No install. Automatically records.
Stars: ✭ 38 (+216.67%)
Mutual labels:  visualisation
baltic
baltic - backronymed adaptable lightweight tree import code for molecular phylogeny manipulation, analysis and visualisation. Development is back on the evogytis/baltic branch (i.e. here).
Stars: ✭ 60 (+400%)
Mutual labels:  visualisation
Game-Animation
A python tool to visualise game animations
Stars: ✭ 74 (+516.67%)
Mutual labels:  visualisation
CometVisu
Repository for the CometVisu building automation visualisation.
Stars: ✭ 60 (+400%)
Mutual labels:  visualisation
ThreeDFace
3D Face Viewer
Stars: ✭ 35 (+191.67%)
Mutual labels:  visualisation
Neural-Network-Architecture-Diagrams
Diagrams for visualizing neural network architecture (Created with diagrams.net)
Stars: ✭ 194 (+1516.67%)
Mutual labels:  visualisation
chord-transitions
Transitioning Chord Diagram Demo with Angular/D3
Stars: ✭ 38 (+216.67%)
Mutual labels:  visualisation

CovInce

CovInce is an an application built in React for visualising numbers and proportions of lineages for cases of SARS-CoV2. It is currently used primarily for the spatiotemporal displays at https://covid19.sanger.ac.uk/ and https://covglobe.org/.

If you would like to deploy your own version of covince and need assistance please raise an issue and we will try to help.

Demo of the code in this repository (with old static data): http://covince.vercel.app

Configuration

Top-level sections

  • area_search_terms (optional) enable additional search terms for areas
  • chart [object]
  • chart_tooltip [object] [DEPRECATED - use chart.settings.tooltip]
    • use_nomenclature [boolean] defaults to true
  • charts [array] list of chart definitions [DEPRECATED - use chart.definitions]
  • colors [object|array] (optional, static builds only) lineages mapped to color definitions, or a list of ordered colors. Optionally provide dark mode alternatives in the format { "light": "...", "dark": "..." }
  • datetime_format [string] for e.g. data updated date reference
  • dynamic_mode [object] (required for dynamic builds)
    • initial_lineages [array|object] list of lineages, or an object mapping lineages to a numerical index in the colour palette. Numbers must be 0-8 for the built-in palette.
    • colour_palette [array] (optional) list of color definitions or ordered colours. Optionally provide dark mode alternatives in the format { "light": "...", "dark": "..." }
    • mutations ['single'|'multi'] (optional) enable mutation features, and whether multiple mutations can be selected
  • map [object]
  • nomenclature [array] (optional) list of nomenclature definitions, the order will be reflected on the UI
  • ontology [object]
  • parameters [array] list of parameter definitions
  • timeline [object] (optional)

Area Search Terms

  • url [string] should load a JSON file with the following structure: { "search_term": "area_id", ... }
  • mode [string] type of search to apply to additional terms:
    • padded-first-input-token pads the term to the length of the input and matches against the first token of the input padded to the original length

Chart settings

  • csv_download [boolean] (optional) defaults to true
  • tooltip [object] (optional)
    • use_nomenclature [boolean] defaults to true
  • group_stacked_colors [boolean] (optional) reorder stacked areas to group colours together, defaults to true

Chart

  • allow_stack [boolean] (optional) enables stacking
  • default_type ['line'|'area']
  • heading [string]
  • parameter [string] should match a parameter id
  • preset ['percentage'] (optional) applies formatting rules [DEPRECATED - use parameter.format]
  • y_axis [object] (optional)

Chart Y-Axis

  • domain [number[]] (optional) reference
  • ticks [string[]] (optional) reference
  • reference_line [number] (optional) display a dotted line at the specified value
  • allow_data_overflow [boolean] (optional) reference

Map settings

  • default_lineage [string] (optional) should match a lineage in lists, defaults to first lineage
  • default_color_by [string] (optional) should match a parameter id, defaults to first parameter
  • default_color_scale ['linear'|'quadratic'|{[parameter_id]: 'linear'|'quadratic'}] (optional) can be a string for all parameters, or an object for specific parameters. Omit parameters from the object to hide the scale control.
  • color_map_domain [{[parameter_id]: object}] (optional) set the range of the colour map per parameter. Object should provide at least one of:
    • min [number] (optional) minimum value of the color map
    • max [number] (optional) maximum value of the color map

Map viewport

  • min_zoom [number] reference
  • default_lat [number] reference
  • default_lon [number] reference
  • default_zoom [number|object] reference provide a number for all screen types, or an object with properties: mobile, desktop, big
  • default_zoom_mob [number] Mobile option where proportions are different reference [DEPRECATED - use default_zoom.mobile]
  • bounds [object]

Nomenclature

  • lineage [string] should match a lineage in lists
  • alt_name [string] alternative name

Ontology

  • overview [object]
    • category [string] e.g. "National Overview"
    • heading [string] e.g. "England"
    • short_heading [string] e.g. "National"
  • area [object]
    • category [string] e.g. "Local authority"
    • noun_plural [string] e.g. "local authorities"

Parameter

  • id [string]
  • display [string]
  • format ['percentage'] (optional) values should be 0-1 and are formatted as percentages
  • precision [number|object] (optional) decimal places for values, can a number for all values or an object with the following required keys:
    • mean [number]
    • range [number]

Timeline

  • label [string] (optional) e.g. "timeline",
  • initial_date [string] (optional) should be in ISO format e.g. "2021-01-01", defaults to latest date
  • date_format [string|object] (optional) can be a string for all dates or an object with the following required keys:
  • frame_length [number] (optional) time in milliseconds per date when playing the timeline. Defaults to 100.

Development

Install dependencies

yarn install

Start dev server

yarn dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Build:

npm run build

Contributors


Richard Goater

💻

Theo Sanderson

💻

Harald Vöhringer

💻
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].