Overlap

The Overlap part measures how much every pair of samples shares, each value with its 95% interval, summarizes the pairs of one subject and of two, and counts the clonotypes found in more than one subject.

The measures

The Overlap part: Morisita's index for every pair of samples as a heatmap, the pairs of one subject and of two summarized, and every pair listed with its intervalsThe Overlap part: Morisita's index for every pair of samples as a heatmap, the pairs of one subject and of two summarized, and every pair listed with its intervals
Every pair of the simulated study's samples by Morisita's index; the pairs of one subject stand out.

Open Repertoire › Overlap and choose Measure overlap; the result is kept with the project.

The intervals

Which clonotypes two samples share is itself a matter of chance: a rare clonotype of both repertoires may or may not turn up in both samples. The intervals come from a bootstrap of each sample's cells, widened for that chance (Horvitz and Thompson 1952), on the logarithmic scale. Without that widening, they held the expected shared clonotypes in only 64% of simulated pairs; with it, in 95.2%. A pair that shares nothing gets an interval from zero to what a count of none allows.

Pairs and public clonotypes

The pairs of one subject and of two (and of one condition and of two) are summarized by their mean, lowest and highest value, and every pair is listed. The public clonotypes, found in more than one subject, are counted by how many subjects hold them, and the most public listed. Subjects come from the samples' annotation (or their AIRR metadata): without them each sample counts as its own subject, so two samples of one person would look public, and the view says so.

Using the result

The heatmap and plots save as figures, Export writes every pair's measures and the public clonotypes as CSV, and the methods paragraph says what was measured, at what depth. Scripts use measure_overlap (Remote control).