Changelog
A record of new features and improvements in RINKO.ai, newest first.
- New
Regression: Firth, matching CI and P, interactions, robust SE and more
Features needed for papers, and fixes for things reviewers notice.
- Firth penalized-likelihood logistic regression (logistf): finite odds ratios with complete separation or few events, with profile penalized-likelihood 95% CIs and likelihood-ratio P values.
- CI and P from the same method: profile likelihood + likelihood ratio (default) or Wald. Before, the CI was profile likelihood and the P was Wald, so a CI could exclude 1 with P > 0.05.
- Logistic regression runs without a time column (only the 0/1 outcome is needed).
- Interaction terms (A × B) in the multivariable model, without making a product column by hand.
- Robust standard errors (HC1, HC3) for linear regression.
- Year columns (2010, 2011 …) are numbers, not dates, so they stay in the propensity-score covariates; the role set in Data profile is honoured, and columns left out are listed with the reason.
- Display fixes: negative CIs in forest plots read "−9.0 to −2.0"; love-plot ticks reach the largest SMD; a binary variable no longer gets another column's name in the love plot; logistic "events" shows the events (EPV still uses the smaller outcome group).
- New
Visual abstract: Annals "multi-figure" layout
A new layout for The Annals of Thoracic Surgery visual abstract (Annals · Multi-figure) puts a main figure and two smaller figures on one slide.
- The study question sits on the top band, the patient flow (cohort → two groups, then short facts such as the analysed population) on the left and the main figure on the right.
- End-of-curve labels (value and group) sit to the right of the main figure, with a colour and a vertical position you can set.
- Up to two figures, such as a forest plot or a repeated-measures chart, go in the bottom strip, each with a heading, a small note and a line underneath.
- Figures can be loaded from .rko files or from PNG / SVG.
- The footnote (adjustment variables and abbreviations), the conclusion band and the citation / hashtag / credit line are laid out automatically. PowerPoint export keeps every text and shape editable.
- New
KM / CIF: figures that meet journal standards (printed text size check, KMunicate table, few-at-risk tails, RMST annotation, colours by group name)
Points reviewers often raise can now be checked and fixed while making the figure.
- Printed text size (Figure Composer): choose a print width (single column 90 mm, 1.5 columns 140 mm, double column 190 mm) to export at that size and see the point size of each panel's axis and table text. Panels below the threshold (6–8 pt) are flagged, with a button to redraw at the font scale they need. PNG, TIFF and PDF draw KM / CIF panels from their vector version, so they stay sharp at 600 dpi.
- KMunicate table: instead of no. at risk only, show the numbers at risk, censored and with the event (and competing events for a CIF) per group at each time point (Morris et al. BMJ Open 2019).
- Few patients at risk: from the time fewer than N patients or P% of the group remain, the curve turns dashed or stops (Pocock et al. Lancet 2002).
- Proportional-hazards check: for 2-group KM curves the Schoenfeld residual test runs automatically and warns when PH fails; the annotation can switch to the RMST difference automatically or always.
- Colours by group name: a group with the same name gets the same colour in every figure, even from other columns or data.
- The vector PDF export now uses the same drawing as the page.
- Improved
KM / CIF: same curve size whatever the number of groups, same scale in the Figure Composer
Figures with 2 and 4 groups now line up with the same curve and text size.
- Fixed plot size: extra no.-at-risk rows no longer shrink the curves; the image grows downwards instead. Curves, axes, text and the P value have the same size with 2 or 4 groups (Display options; on by default).
- Figure Composer, "Same scale for KM / CIF panels" (on by default): every KM / CIF panel is placed at one scale with its top edge aligned, in PNG, TIFF, PDF and SVG exports.
- Batch style change: panels are redrawn with exactly the same drawing as the page, so figures from different data match down to the P value size, legend, no.-at-risk table and time-point text.
- New
Charts: line charts of repeated measures in the same patients
Values measured in the same patients at several time points (e.g. preoperative → 6 months → 1 year) can now be drawn as one line per group. Choose "Repeated measures" on the Charts page.
- Input: pick one column per time point, in order. Time-point labels can be renamed.
- Y axis: the measured value, the change from baseline, or the percentage of the baseline value (e.g. retention of lung function).
- Points and error bars: group means with t-based 95% CIs.
- Between-group difference: at each time point, value ~ group + baseline value + covariates is fitted by linear regression in R, and the difference, 95% CI and P are shown on the figure. Baseline adjustment (ANCOVA) is on by default; standard errors are HC3 robust by default (HC1 or model-based are available).
- A number-of-patients table sits under the axis. Analyse everyone with a value at each time point, or only patients with all time points.
- Four palettes plus per-group colors, marker shapes for black-and-white print, annotation position, legend and axis range. PNG, TIFF, PDF, SVG and .rko export, and sending to the Figure Composer.
- New
KM curves: 7 color palettes, per-group colors, CI fill opacity
You can now set KM curve colors to match the target journal or print conditions.
- Palettes: NEJM, JAMA, JCO, Okabe–Ito (color-blind friendly) and Grayscale (for black-and-white print) join NPG and Lancet, for 7 in total.
- Per-group colors: starting from the palette, override any group's color with a color picker or #RRGGBB. The curve, 95% CI, legend and numbers at risk all follow. Overrides stay with the group across palette switches and reordering, and are remembered per group column.
- 95% CI fill opacity: adjust the filled band from 5% to 50% (default 15%).
- Figure Composer slots keep the color settings, so rebuilt PDFs use the same colors. Bulk style changes offer all 7 palettes.
- New
Weighted Table 1, choice of the event of interest in competing risks, unit checks for time-point analysis
Tables for adjusted cohorts, and safeguards against mixed-up settings in competing-risk and time-point analyses.
- Table 1: pick a weight column (IPTW, ATO, etc.) to get weighted n (%), mean (SD), median [IQR] and SMD. Group n is the sum of weights, and weighted tables show no P values.
- Table 1: "Chi-squared (always)" added for categorical variables, overriding the automatic switch to Fisher.
- SMD denominator: Adjust and Table 1 can use the unweighted SD (the cobalt default).
- Competing risks: choose which event value is of interest, e.g. death without recurrence (2) as the event and recurrence (1) as the competing event.
- Time-point analysis: the target's unit is shown in the input; a target beyond the longest follow-up gets a warning and a suggested reading (60 months → 5 years). Past a group's last observation it reads "beyond follow-up" instead of carrying the last value forward.
- Improved
KM curves: draw a subset, load a CSV in place, time-point target remembered
Subsets and reloads are easier to handle on the KM page.
- A row filter draws the KM curve for a subset such as the matched cohort; the slot description records the condition.
- "Load .rko / CSV" now opens a CSV directly on the KM page.
- The time-point target is remembered per time column, so the same time point is summarised after a reload.
- A median beyond X max is now a quiet note instead of a red warning (a 5-year cut is usually intended).
- The export file-name field forgets a previous task's name after 6 hours.
- New
Figure Composer: SVG export, 3×2 and 2×3 layouts, panel titles, equal row heights, autosave
A set of features for finishing multi-panel figures for submission.
- SVG export: KM panels stay vector, with editable text.
- Image files as panels: drop in PNG / SVG figures made in Python, R or Prism.
- Layouts: 3 columns × 2 rows and 2 columns × 3 rows (six panels, A–F).
- Panel titles next to the letters (off by default); on KM panels the title is centred over the plot.
- Equal heights: panels of different aspect ratio (a wide Sankey next to a bar chart) share height and top edge, and the page is trimmed to the content.
- Autosave: the slots are kept in this browser only and come back when the page is reopened (nothing is sent to the server).
- New
Charts: row filter, fixed Sankey colours and per-group panels, outcome proportions computed from the data, forest plot from typed estimates
Steps that used to be done by hand when preparing paper figures now happen inside the Charts page.
- Row filter: pick a column and values to draw a subset (e.g. matched = 1 for the matched cohort).
- Sankey: fix a colour per label (the same label keeps its colour across stages, panels and charts) and split the diagram into one panel per group in a single figure.
- Outcome comparison: proportions of binary outcomes with exact 95% CIs (Clopper–Pearson) and two-sided Fisher exact P computed from the data; P shown in JAMA style (P = .02, P < .001).
- Percent by group: show only the event level of a binary variable.
- Forest plot: paste estimates, 95% CIs and P values you already have (cause-specific sHRs, adjusted differences by method) — log axis, reference line and direction labels included.
- New
Three guards for a correct analysis: value normalisation, collapsing multi-level covariates, and a Cox model health check
A batch-generated Cox model on real data turned out to have the exposure (group) missing from the model, a 13-level factor full of inestimable levels, and a reference level with one patient. These three problems occur in every field, so RINKO.ai now stops them at the door.
- Value normalisation (data profile): detects annotated codes ("3lepidic" → 3), full-width vs ASCII (1/1, ⅠA/IA, </<), stray spaces and Yes/yes per column, shows the effect ("13 levels → 8") and fixes it in one click. Suffixes such as cN2a's "2a" are left alone. The previous table is backed up and can be restored with Undo.
- Collapsing multi-level covariates (AI recipe): for covariates with 5+ levels (stage IA1–IIIB, histologic subtype 1–8) the AI proposes 2–4 groups (e.g. I / II / III) with an editable mapping; confirming creates a derived column that replaces the original as a covariate. Sparse levels (< 10 patients) are flagged in red.
- Cox model health check: inestimable (NA) coefficients, 95% CIs of 0–∞, a sparse reference level, zero-event levels, sparse levels, 6+ levels and EPV < 10 are detected when the model is built and shown above the results as red/amber ("this model is not publishable as is"). The same items feed the progress-board health chips and the statistical review.
In addition, the submission batch always keeps the group (exposure) in the multivariable model and enters the pre-specified covariates without screening, and the reference level of a factor with 3+ levels is now the most frequent level rather than the alphabetically first one (a recipe can override it). On the same data and question: EPV 5.5 → 13.9, max VIF 238 → 2.5, health findings 25 → 0.
- Improved
KM settings are remembered; figure-QA findings write themselves back (axis titles, Sankey labels, X max)
KM screen settings now persist in the browser: the X-axis title per time column, the Y-axis title per event column, and the look (font, at-risk table, confidence bands, P-value position) per user. They are reused the next time you open the screen and when the submission batch regenerates the figure.
Figure visual QA can now apply its findings with one click:
- KM axis titles (missing unit, raw column name, wrong endpoint name): saved per column; if the recipe is confirmed, the KM curve is regenerated automatically
- Sankey stage labels (raw codes 0/1/2): saved to the group-label dictionary; the chart is reopened with the same settings and saved
- KM X-axis maximum (too much empty space on the right): saved per time column and regenerated
Also: the manual Categorical / Continuous choice made in Cox or Table 1 is stored in the recipe and shared by both screens, and integer-coded columns whose name says they are a category (subtype, stage, grade…) are treated as categorical even with many levels (previously 7+ levels were modelled as a continuous "HR per unit").
- New
Statistical review mode and figure visual QA: an AI reviewer before you submit
Two buttons were added to the progress board. Statistical review reads your recipe (column roles), the automatic checks (events per variable, proportional-hazards test, VIF, events per group, missingness) and the numbers of the saved analyses (Table 1, KM, Cox, forest plot, propensity-score balance) as the target journal's statistical reviewer would, and returns a Japanese summary with English reviewer comments, a concrete fix and the evidence for each comment, suggested sensitivity analyses (competing risks, a different covariate set, OS instead of RFS, PSM/IPTW, E-value, cut-off exploration) and a draft 'Sensitivity analyses' paragraph for Methods. Each suggestion has a Run button: the recipe is changed for that run only, the Table 1 / KM / Cox batch runs, and the recipe is restored afterwards (results are saved as sens_… and never mixed with the main analysis). Figure QA shows the latest figure of each kind (KM, Figure Composer, forest, flow diagram, chart) to the AI as an image and compares it with the numbers in its own .rko: P values, n and risk-table counts printed on the figure, axis titles and units, legend labels vs group labels and raw codes, clipped or overlapping text, pixel size against the journal's dpi requirement, and consistency across figures. Neither sends row data (review 40–80 credits; figure QA 15–30 credits per figure).
- New
From a one-sentence research question to an analysis recipe — refined by clicking, with collapsed groups built for you
In the data-profile screen that opens after loading a file, type one sentence (e.g. 'Compare recurrence-free survival by pleural invasion, adjusted for age, sex and stage; target journal JTCVS') and the AI proposes column roles (time, event, competing, group, covariates, excluded), the journal, study design, primary and secondary endpoints, the planned outputs and English group labels, and applies them (it avoids mostly-missing derived columns, prefers months over days, and keeps covariates to the 5–20 that belong in Table 1). Nothing else needs typing: clarifying questions come with answer chips, the role summary has dropdowns for time / event / group and chips with × and '+ add' for covariates, and a free-text box ('exclude stage IV') asks for a revision. When a multi-level column such as pathological stage IA1–IIIB must be compared as 'I vs II/III', the AI proposes a derived group column with its mapping; the mapping is edited by clicking (unmapped values become missing), and on confirm the column is added to the data, used as the group and included in exports. Confirming then runs the submission set (Table 1, KM, Cox) in one go. Only column names, types, levels, missingness and legends are sent — no row data and no columns that look like identifiers (5–15 credits per run).
- Fixed
KM curves: exact 95% CIs at zero-event time points (no more 100–100%)
Where a group has not yet had an event, the 95% CI used to print as "100.0% (100.0–100.0%)" (0.0–0.0% in cumulative mode): the Greenwood variance is zero there, and a log-log transform does not help. Such time points now use the two-sided 95% Clopper-Pearson exact interval based on the number at risk at that time (lower limit = 0.025^(1/n) ≈ 1 − 3.7/n). We verified in R that this equals what the beta product confidence procedure for censored data (Fay, Brittain & Proschan, Biostatistics 2013) returns at zero-event times. The familiar "rule of three" (3/n) is one-sided 95%, so we chose the two-sided version to match the other CIs in the figure. The correction applies to the CI band, the time-point annotation and the time-point table; affected values carry a dagger and a footnote is added to the figure when a group has no events. The same rule fills in the upper limit for cumulative incidence (CIF) when the event of interest has not occurred. A display option restores the previous behaviour. The .rko records the CI method (ciMethod) and the dagger flags, so AI-drafted Methods describe it correctly.
- New
Charts: Sankey, waterfall and two-arm outcome comparison; Annals layouts for Visual Abstract
Three chart types were added. Sankey diagrams show patient flow across ordered stages such as stage or treatment line, with node names editable inline. Waterfall plots show each patient's best change from baseline (e.g. RECIST). The two-arm outcome comparison draws group A vs B proportions with 95% CIs and a P value, imports from KM / CIF .rko files, and has a style panel with journal-style axis ticks, one-decimal percentages and P formatting. Visual Abstract gains two layouts for The Annals of Thoracic Surgery (a1 / a2) with an Annals theme: cohort and methods on the left, the figure in the middle, key results on the right, an A-vs-B bar for secondary outcomes, and aspect-preserving figure export. A Sankey .rko loaded as the figure passes its flow counts into the AI digest. Also fixed: multi-panel Figure Composer .rko files keep all panels, and typing an existing account into the sign-up form no longer dead-ends.
- New
Pictogram library grows from 87 to 282, with category filters
195 pictograms were added to the free library, for 282 in total. Beyond study design (retrospective / prospective, crossover, blinding, placebo, ethics approval, consent, follow-up, screening funnel, timeline, endpoint, animal model, in vitro), diagnostics (chest X-ray, MRI, PET, ultrasound, ECG, spirometry, biopsy, pathology, glucose, urinalysis, mammography, retina, culture, sequencing, biomarker), treatment (targeted therapy, immune cell, transfusion, anesthesia, rehabilitation, palliative care, vaccine, insulin, eye drops, cast, wound dressing, counseling), people (nurse, pharmacist, family, pregnancy, fetus, newborn, home care, ambulance, discharge, team, older adults, community) and charts (scatter / regression, ROC, box plot, pie, table, heatmap, error bars, confidence interval, trends, flowchart, check / cross, arrows, star), the set now covers cardiology (heart rate, arrhythmia, valve, aorta, AED, CPR, cardiac surgery), gastroenterology (appendix, stoma, hernia, cirrhosis, gastric ulcer, colonoscopy, spleen, gallbladder, small intestine), neurology and psychiatry (stroke, seizure, dementia, neuron, headache, tremor, mental health, stress, mindfulness), orthopedics (fracture, hip, disc, osteoporosis, crutches, walker, joint), obstetrics and gynecology (ovary, menopause, IVF, infant care), urology (stone), dermatology (rash, skin lesion, burn), ophthalmology and ENT (glasses, cataract, nose, throat, hearing), endocrinology and hematology (hormone, scale, blood cells, bone marrow, coagulation), infectious disease (hand hygiene, vector, antimicrobial, isolation), general oncology (metastasis, response, cell division, mutation, chromosome, gene editing, staging), emergency care (intubation, trauma, vital signs, first aid) and thoracic surgery (lobectomy, segmentectomy, pneumonectomy, lymph node dissection, pleural effusion, pneumothorax, lung nodule, mediastinum, esophagectomy, tracheostomy). The library page now filters by category (people / organs / disease / procedures / treatment / diagnostics / devices / study design / charts / lifestyle). The same 282 are available to the Visual Abstract AI picker and icon list. Still free, unlimited and sign-in free.
- New
Subgroup and Charts pages; stronger competing-risk and weighted analyses
New Subgroup and Charts pages, and a more rigorous treatment of competing risks and weighted analyses. Subgroup re-fits the treatment effect within each stratum (continuous variables split at the median) under Cox, Fine-Gray or logistic models and draws one forest plot (P for interaction by likelihood-ratio test, off by default). Charts gives grouped, stacked, 100 % stacked and year-by-year trend plots with chi-square / Fisher chosen automatically. Both inherit the adjusted cohort and can be dropped into Figure Composer panels. Fine-Gray now takes IPTW / overlap weights (robust variance) and can add bootstrap 95 % CIs for the sHRs (with progress and stop). A 0/1/2 competing-event column is refused under plain KM or Cox with guidance, and switching to CIF / Fine-Gray swaps the event column automatically. Also: Japanese labels in KM figures, Table 1 continuous variables as mean (SD) / median [IQR] / automatic by normality, E-values for unmeasured confounding in Cox, a copyable view of the R code that ran, and a component table for composite endpoints (MACE).
- New
Data profile and analysis plan — set column roles once, every analysis uses them
A set of features to cut the busywork: the data profile after import sets column roles and the target journal once, and KM, Cox, Table 1 and adjustment all use them (analysis plan, stored in the browser). "Build submission set" on the progress board runs Table 1, KM and Cox automatically and saves the .rko files; "Health" lists events, EPV, proportional hazards, VIF and matching rate. Propensity-score matching now runs on MatchIt (nearest / optimal / full, caliper, exact), and the matched cohort is shared by Table 1 and Cox (pair-clustered robust variance). Also: a variable dictionary, an analysis log, flow-diagram counts from data, a submission export preset, Core Draft batch generation and a ⌘K command palette.
- New
87 clinical research pictograms (free, no sign-in)
87 clinical research pictograms are now available: line art of organs, procedures, treatments and study designs, exported as SVG or PNG in any colour (five palettes plus custom) and stroke width. Free, unlimited, no sign-in — with copy-as-image for PowerPoint and bulk ZIP download. Open it from "Pictograms" on the home page or the app toolbar.
- Improved
Uniform exports, clearer tables and forest plots, light-theme fixes
A broad usability pass. Exports are now uniform across every page (PNG 300 DPI free; 600 DPI, TIFF, PDF and SVG on Pro), figure and Excel text stays English even on the Japanese UI, Cox / Table 1 column widths and forest-plot markers were tuned, and a crash on the diagnostics page for lower-is-positive markers was fixed. Remaining untranslated Japanese UI strings were completed and light-theme contrast was rechecked.
- Improved
Four journal-submission templates for Visual Abstract
Visual Abstract gains journal-submission templates (four layouts: two-arm comparison, three-column, quadrant, and a portrait layout for social media). Paste the title and abstract and the AI drafts the content, copying numbers only from the abstract or your .rko results. A pictogram is picked for each arm automatically, and PowerPoint exports are editable shapes. Journal-specified layouts are added on request.
- New
“Set up with AI” on every analysis page — columns assigned for you
Every analysis page now has "✨ Set up with AI": describe the analysis and the time, event, group and confounder columns are assigned for you (KM, Cox, Table 1, change analysis, propensity adjustment). A free local auto-detect handles the common case; the AI steps in only for complex requests.
- Improved
Double-click to edit figure text in place
Double-click any text in your figures to edit it in place. Flow diagrams: every box, title and footnote updates live as you type. KM curves: rewrite group and axis labels right on the plot and redraw in one click — fixing raw "0/1" legends takes seconds. The KM grouping column can now be changed on the page too.
- New
AI English labels for Table 1 (Pro); Complete Draft picks the language
New: AI English labels for Table 1 (Pro). Japanese variable names and category codes (e.g. 性別 1:男性 2:女性) convert to publication-style English (Sex / Male / Female) in one click, applied to every export (Word, Excel, .rko) — and you can switch back anytime. Complete Draft now picks the manuscript language automatically from the target journal's guidelines.
- Improved
Publication exports for the diagnostic-accuracy suite; detection limits unified
The diagnostic-accuracy suite (ROC, marker comparison, kappa, calibration, Bland-Altman/ICC) now exports publication-ready copies, .rko files and SVG. Detection-limit values (e.g. "<2.0") are now handled consistently across all pages and disclosed automatically in the Table 1 footnote.
- New
AI assist, design checks, automatic identifier exclusion
Added the AI assist: type what you want to do and it suggests the right feature, opening the screen with columns pre-assigned (catalog search is free; AI suggestions are Pro). Also added design checks (in-browser detection of immortal time bias and more), automatic detection and exclusion of identifier columns, a full "what is sent to AI" preview, and a data-handling page with an ethics-review template.
- Improved
Study-design-aware Table 1 (SMD column) and Cox model diagnostics
Table 1 is now study-design aware: RCT and matched designs show an SMD column instead of p-values (with a CONSORT 2010-compliant footnote), and a missing-data column can be added. Cox regression gained model diagnostics (C-index, AIC, EPV warning, proportional-hazards test, overall p for factors) and a pre-specified covariate mode.
- New
Major Adjust expansion (1:k matching, stratification, sensitivity analyses)
Major Adjust expansion: 1:k and with-replacement matching, weight trimming, PS-quintile stratification, PS-as-covariate, variance ratios and PS overlap, weighted logistic (OR), and sensitivity analyses (trimming sensitivity, Rosenbaum bounds, negative controls).
- New
Adjust added — IPTW, matching, love plot, E-values
Added Adjust (confounding adjustment): propensity-score IPTW, ATT, overlap weights and 1:1 matching, balance diagnostics (love plot, adjusted Table 1), adjusted KM / CIF curves and E-values — all in in-browser R.
- New
Complete Draft added (39 journal presets)
Added Complete Draft, with submission guidelines for 39 journals preset.
- New
STROBE check (beta) added
Added the STROBE check (beta). The AI reviews whether your manuscript follows the guideline.
- New
Flow Chart (CONSORT / STROBE) added
Added Flow Chart. Build diagrams that follow CONSORT and STROBE.
- New
RINKO.ai is generally available
RINKO.ai is now generally available. Statistical analysis through manuscript drafting in a single tool.