Live demo

Association scatter

Do these two variables move together? One point per participant, with either axis a biomarker at a visit or a participant-level number, coloured by a group, in panels by one further variable, each axis linear or logarithmic. Under it R's Pearson or Spearman coefficient with its interval and p-value, for everyone drawn and within each colour; over it the line y = x, or R's linear fit or smooth with its band. Drag across the points to list the participants in a region, and click a point to open that participant's profile. The data is the synthetic study: 200 made-up participants, and no real one.

The controls, the filters, the listing, the participant profile and the Chart.js this chart draws with are safety.viz's, version 1.9.0, loaded beside bio.viz from a copy with a record of where it came from.

The statistics are gsm.bio's, version 0.1.0: R in this browser is given one file of R, copied from gsm.bio at commit 514cbc3 with a record of where it came from. The same file, run in desktop R on the rows this chart hands over, wrote the answers the browser tests hold this page to.