Subjects and time points

Clonotypes are followed and tested within a subject, from one time to another. Before anything is tracked, ClonoLoom reads each sample's subject, time point and role from its annotation, orders each subject's samples in time, and says what it cannot place.

Annotate the samples

In the Data view's samples table, give each sample:

Suggest from file names reads subjects and time points from the parts of the samples' names (P07_d28), and Fill from metadata from AIRR Repertoire metadata (subject_id, collection_time_point_relative with its unit and reference event). Scripts set them with annotate_samples (Remote control).

Time points ClonoLoom reads

WrittenRead as
day 28, d28, D+28, 28d, 28 daysday 28
day -7, D-77 days before the event
week 4, wk4, W4, 4 weeksday 28 (labeled week 4)
month 3, M3, 3moday 91.3 (a month is a twelfth of 365.25 days)
year 1, 1yday 365.25
6h, 24 hoursday 0.25, day 1
14 day (vaccination), 28 days post-infusionday 14, day 28, with the event named
21day 21 (a number alone is days, and the check says so)
baseline, pre, pre-infusion, screeningbefore the event, first
post, post-vaccination, follow-upafter the event, its day unknown: last
T1, tp2, visit 3a numbered visit, ordered by its number

Samples at the same time (day 28 and week 4 are) are grouped as repeated samples within one subject. Their technical or biological relationship must be established from the study design; they do not add independent subjects. Only scientifically justified stable replicates should be used to estimate expansion variance. Cohort design checks require explicit handling of these repeated observations.

The Subjects part

The Tracking view's Subjects part on the simulated CAR-T study: three patients' samples on an axis of days from the infusion, their infusion products as diamonds, the two samples before the infusion one above the other, and a table of each patient's samples in time orderThe Tracking view's Subjects part on the simulated CAR-T study: three patients' samples on an axis of days from the infusion, their infusion products as diamonds, the two samples before the infusion one above the other, and a table of each patient's samples in time order
The simulated CAR-T study, its subjects and time points read from its metadata.

Tracking › Subjects shows what ClonoLoom made of the annotation:

What is checked

CodeSeverityWhat it says
study-no-subjectwarningSamples without a subject: left out.
study-time-unreadwarningTime points not understood: left out, with the forms ClonoLoom reads.
study-no-timewarningSamples without a time point: left out (a reference sample needs none).
study-bare-numbernoteNumbers without a unit, read as days.
study-replicatesnoteSamples of one subject taken at one time.
study-one-samplenoteSubjects with one time point: nothing to follow or test.
study-no-referencenoteSubjects without a reference sample: nothing to attribute to.
study-mixed-timesnoteDays with visits, or "after" without a day: their order assumed.

Scripts read the same with describe_subjects. Then follow the subjects' clonotypes through their samples (Following clonotypes). Testing them between two samples, and attributing a sample to its reference, come with the next parts of the Tracking view.