WorksMathematics
Two-sample inference for sequence-derived feature distributions from deep sequencing data
Abstract
Many biological contexts involve heterogeneous populations of related molecular variants within a single individual. For example, some viral infections such as HIV-1 exhibit substantial diversity within a single host. Advances in sequencing technology now make it possible to characterize such populations by generating up to thousands of genetic sequences from a biological sample. In many settings, each sequence can be mapped to a numeric feature, such as Hamming distance to a reference sequence. This collection of feature values defines a one-dimensional distribution that characterizes individual-level viral diversity. When comparing these features across independent groups, past analyses have typically reduced each individual's data to a single summary value, such as the mean or mode. We propose a framework that retains the full individual-level distribution as the object of analysis. Drawing on existing tools from distributional data analysis, our framework uses Wasserstein barycenters to summarize the observed individual-level distributions within groups into a single representative distribution. These group barycenters are then compared using differences in quantiles and tested for equality. A practical challenge is that the number of sequences obtained, known as sequencing depth, can vary across biological samples. Through simulation studies, we examine when low sequencing depth can distort inference and present practical strategies for addressing these issues. We then illustrate the framework using data from the HIV-1 Antibody Mediated Prevention efficacy trials and a human B cell receptor sequencing study of vaccine-elicited immune responses. By using the entire collection of sequences for each individual, our approach can reveal group differences that may be obscured by single-number summary analyses.
Introduction
Many biological studies seek to characterize heterogeneous populations of related molecular variants within a single individual. For example, rapidly evolving RNA viruses, such as HIV-1 and hepatitis C, can have a diverse population within each host, referred to as a quasispecies. This diversity is generated by within-host evolutionary processes such as mutation, selection, genetic drift, recombination, and transmission bottlenecks. It can influence clinically important outcomes, including immune escape, drug resistance, viral persistence, disease progression, and transmission [11, 13, 28, 33]. Another example occurs in the human adaptive immune repertoire, which contains a vast array of B cell receptors. Following infection or vaccination, an individual’s B cell lineages can undergo clonal expansion and somatic hypermutation, generating diverse collections of related receptors [29].
To study this diversity, researchers collect biological samples, such as blood or tissue, from individuals and sequence the molecular variants present in those samples. Historically, such diversity has been difficult to characterize with high resolution because older approaches, such as single genome amplification followed by Sanger sequencing, are resource-intensive and typically yield up to 20-30 sequences per biological sample. In recent years, deep sequencing technologies have transformed this setting by generating large collections of sequences per sample, enabling more detailed study of heterogeneous populations within individuals [6, 26, 28].
Direct analysis of raw sequence data is challenging because the number of possible sequences grows rapidly with sequence length, and observed sequences often vary substantially across individuals. To make these analyses more tractable, sequences are often summarized using lower-dimensional features. These can include discrete indicators for specific amino acid residues or motifs, classification into broad sequence types or lineages, or quantitative numeric scores. Our proposal focuses specifically on the third type: numeric sequence features. Examples include the Hamming distance to a reference sequence or sequence-specific phenotypic properties (either experimentally derived or predicted from sequence). Once individual sequences are mapped to numeric values, a common analytical task is to compare these sequence-derived features across treatment conditions or demographic factors such as geographic region. In the HIV-1 sequencing context, such analyses have included quantifying HIV-1 Env V1V2 loop length and predicted N-linked glycosylation sites across stages of disease progression [10] and comparing predicted transmissibility across modes of sexual transmission [35]. In B cell receptor studies, analyses have compared levels of somatic hypermutation and distance from inferred germline sequences between treatment arms [38].
With deep sequencing data, the collection of sequences from a single individual yields a distribution of numeric feature values. Past analyses have often collapsed these data into a single representative sequence or summarized the feature distribution by a single scalar value, such as the mean or mode. This reduction simplifies group comparisons by allowing for classical two-sample procedures but, as we will argue, may fail to detect differences between groups not captured by the chosen summary. In contrast, we propose retaining each individual’s complete collection of feature values. Thus, the data unit for each individual is the distribution itself.
Because distributional observations cannot be averaged, differenced, or tested in the same way as real-valued observations, analyzing them requires additional statistical tools. A growing body of literature has developed tools for data in which the observational unit is a distribution [1, 7, 27]. A central object in this work is the Wasserstein barycenter, which provides a notion of an average for a set of distributions. Our aim is to translate ideas from this literature into a practical framework for biological sequencing studies. We describe how to compare two independent groups by treating each individual’s sequence-derived features as a distribution, summarizing each group with a Wasserstein barycenter, and evaluating group differences through pointwise differences in their barycenter quantile functions. Furthermore, we develop hypothesis tests for the equality of group barycenters, designed to detect different classes of alternatives that may arise in practice. The proposed methods are implemented in a R package, mcbarycenter.
A complication in this approach is that individual-level feature distributions are observed at varying resolutions. The number of sequences obtained from a biological sample—known as sequencing depth—can differ substantially across individuals, depending on the laboratory sequencing tool used and potentially reflecting differences in the abundance of the target molecules in the sample. While deep sequencing can theoretically yield thousands of sequences per sample, the realized sequence count often varies substantially and may be low for certain samples [34].
With low sequencing depth, the observed feature values provide a limited view of the distribution of the feature within the underlying biological population. This becomes especially problematic in comparisons when sequencing depth varies systematically between groups, which could happen if the amount of the biological target systematically differs between the groups being compared.
HIV-1 prevention trials provide a motivating example in which these sequencing depth issues arise. In these studies, participants are randomized to receive either an active intervention or a placebo and are followed for incident HIV-1 infection. For participants who acquire HIV-1, blood samples are collected to generate viral sequences. These sequences are then compared between study arms to evaluate whether the intervention is associated with differences in the viral variants observed among individuals who acquire the virus [17]. Sequencing depth in these datasets can vary depending on the sequencing technology and processing pipeline used, and may also reflect the amount of viral genetic material available in a sample. Thus, if an intervention affects post-infection viral load, it may induce systematic differences in sequencing depth between study arms.
We highlight three distinct examples of trials with different sequencing depths: the Phambili (HVTN 503), AMP (HVTN 703/704), and Imbokodo (HVTN 705) trials (Figure 1; Supplemental Table B.1). The Phambili study, which used older Sanger sequencing technology, has very low sequencing depths that are distributed similarly across arms (Vaccine: median 5 [range 2–12]; Placebo: 6 [5–12]). In contrast, the AMP study, which used PacBio deep sequencing, exhibits a wide range of sequencing depths with an overall median of 141.5 sequences per person (range: 1–988), relatively balanced across arms (Treatment: 134 [1–672]; Placebo: 157 [4–988]). Finally, the Imbokodo trial, which also used deep sequencing, demonstrates a scenario with systematic differences between groups. While the overall median is 121 sequences (range: 1–589), vaccine recipients tended to have lower sequencing depths than placebo recipients (Vaccine: 96 [2–493]; Placebo: 146 [1–589]). Those three examples illustrate that sequencing depth is not only highly variable across studies, but can also be affected by the intervention itself. We will study the impact of varying sequencing depth on our framework through simulation studies and provide practical guidance for mitigating this potential issue.

Figure 1. HIV-1 Envelope sequencing depth of participants acquiring HIV-1 infection for three HIV-1 prevention trials—Phambili (HVTN 503), AMP (HVTN 703/704), and Imbokodo (HVTN 705)—stratified by study arm. The y-axis is shown on the log10 scale.
To our knowledge, Wasserstein barycenter-based distributional methods have not previously been applied to the analysis of deep sequencing data. A related paper applies a similar framework in genetics research of single-cell differential expression [39]. Their method uses Wasserstein barycenter techniques to analyze single-cell sequencing data in a two independent sample problem, comparing cases versus controls. While relying on similar ideas, our proposal differs in a few ways: first, we explicitly consider the potential for low or differential sequencing depth to produce biased estimates. Second, we consider an estimand—the difference in quantiles—that contrasts the Wasserstein barycenters of the two groups, whereas they consider the Wasserstein distance between the two barycenters as a single summary measure. Third, we approach hypothesis testing differently. Their permutation testing procedure evaluates the null of exchangeability between two groups, which may be automatically violated if the distribution of sequencing depths differs systematically between groups. In contrast, our testing approach can be valid even when sequencing depths differ between groups.
The remainder of the paper is organized as follows. § 2 provides a high-level introduction to the statistical tasks for our proposed analytic approach and presents illustrative toy examples to build intuition. § 3 describes the data structure, estimands, and methodology for estimating the group-specific Wasserstein barycenters and testing the hypothesis of equal barycenters between groups. § 4 presents results from simulation studies. § 5 presents the framework applied to the AMP HIV-1 prevention trials and human B cell receptor sequencing study of vaccine-elicited immune responses. § 6 concludes.
Statistical tasks with distributional data
To build intuition, we first introduce the framework’s statistical tasks at a high level and provide illustrative toy examples. The statistical tasks include:
Task 1: Average distribution. First, we define what constitutes an “average” distribution across individuals. We use the Wasserstein barycenter, which provides a notion of averaging distributions under optimal transport geometry [1]. For a more comprehensive overview of Wasserstein barycenters, we refer the reader to the review article by Bigot (2020).
Compared to pointwise averages of density functions, the Wasserstein barycenter can better preserve the salient features of component distributions. In Figure 2(a)-(Figure 2b), we display the densities of five bimodal distributions of the same shape along with their Wasserstein barycenter; as shown, the barycenter has the same bimodal shape as the five input distributions. Additionally, for one-dimensional distributions, the Wasserstein barycenter has a convenient and interpretable representation: its quantile function is equal to the pointwise average of the quantile functions of its component distributions [4] (Figure 2(c)-(Figure 2d)). Given this property, we frame our presentation around quantile functions of distributions rather than their densities. In practice, we summarize the within-host feature distributions for each group using their mean quantile function or equivalently, the quantile function of their Wasserstein barycenter.

Figure 2. (a) Densities of five bimodal distributions and (b) the density of their Wasserstein barycenter. (c) Quantile functions of the same five bimodal distributions and (d) the quantile function of their Wasserstein barycenter. The Wasserstein barycenter quantile function is obtained by taking the pointwise mean of the input quantile functions.
Task 2: Differences between barycenter distributions. After estimating the barycenter for each group, we quantify how the barycenter distributions differ between groups. Analyses that reduce a distribution to a single scalar such as the mean or mode often miss important differences in shape or tail behavior. Instead, we employ a quantile difference map, which compares two distributions by evaluating the differences between them across quantile levels in . Comparing quantiles is a well-established method for contrasting distribution functions [12], interpreting quantile regression [24], and studying causal treatment effects for both real-valued and distributional outcomes [16, 23, 27]. Such a comparison allows us to more thoroughly characterize differences between barycenter distributions; a toy example is shown in Figure 3.

Figure 3. (a) Two group Wasserstein barycenter quantile functions (Group 1: solid gray; Group 2: dotted green), and (b) their associated quantile difference map (comparing Group 2 versus Group 1). In this example, the 0.01 quantile of the Group 2 barycenter, representing a near-minimum sequence feature value, is approximately six units higher than that of Group 1. In contrast, the median feature value in Group 2 is only approximately one unit higher than in Group 1. In the upper tail, the two barycenters converge, with their maximum feature values being approximately equal.
Task 3: Hypothesis testing for equal Wasserstein barycenters. Finally, we require a hypothesis test to determine whether the Wasserstein barycenters differ between groups. Specifically, we test the null hypothesis that the Wasserstein barycenters of the within-host viral feature distributions are identical across groups. Equivalently, this null asserts that the difference in barycenter quantiles between the two groups is zero across all quantile levels in .
By representing the barycenter distribution via its quantile function, this problem can be viewed through the lens of functional data analysis, where tests evaluating equality of functionals means between groups are well-studied [19]. For distributional data specifically, two-sample tests have been explored by a handful of past works. Dubey and Müller [14] propose an ANOVA-type test evaluating the equality of barycenters and Fréchet variances; Zhang and Guo [39] use a permutation test for the strong null of exchangeability between groups; and Jeong et al. [20] derive the asymptotic limiting distribution of a scaled, squared Wasserstein distance test statistic. Additionally, Petersen et al. [31] examine testing in a Wasserstein regression context, which, in its simplest form, can be reduced to a two-sample barycenter problem. Our approach aligns most closely with Jeong et al. [20]. However, we propose more flexible test statistics designed to target various alternative data scenarios that could arise in practice.
Illustrative toy examples
To build intuition, Figure 4 illustrates four toy scenarios alongside the corresponding outputs from our framework, which we refer to as a distributional analysis. In each scenario, the left panel shows the individual-level feature distributions and their group-specific Wasserstein barycenters, the middle panel shows the corresponding quantile functions, and the right panel shows the resulting difference in barycenter quantiles between groups. We contrast this approach with a mean-based analysis, which relies on a classical two-sample mean comparison after computing the average feature value for each individual.
Figure 4. Output of a distributional analysis for four hypothetical toy datasets. In each scenario, there are five participants in each group. In the left panels, light curves show the densities of numeric features for each individual (Group 1, gray solid; Group 2, green dotted), while bold curves represent the group-specific Wasserstein barycenters. The middle panels show the corresponding individual-level and group barycenter quantile functions. The right panels display the difference in quantiles between the Group 2 and Group 1 barycenters. The inner panels labeled “Mean” show the corresponding mean-based analysis, comparing the average feature values between groups. Panels illustrate the following scenarios: (a) similar distributions, (b) approximately uniform differences, (c) upper-tail difference, and (d) difference in variability.
(a) Similar distributions (Figure 4(a)). Individuals in Group 1 exhibit sequence feature distributions similar to those in Group 2, resulting in similar barycenters. The distributional analysis estimates negligible differences between the two group barycenters, producing a quantile difference curve nearly flat at 0 across all quantile levels. Similarly, the mean-based analysis estimates a near-zero difference between group means.
(b) Uniform differences (Figure 4(b)). Group 2 individuals generally exhibit higher sequence feature values than Group 1, resulting in a uniform difference between the two group barycenters across quantile levels. Consequently, the distributional analysis yields an approximately uniform positive difference across all quantiles. The mean-based analysis similarly estimates a positive difference in means of roughly the same magnitude.
(c) Upper-tail difference (Figure 4(c)). Group 2 individuals exhibit more extreme feature values in the upper tail, but the distributions otherwise resemble those from Group 1. Therefore, for most quantile levels, the Group 1 and Group 2 barycenters are similar, but they diverge at the upper tail. The distributional analysis captures this by producing near-zero estimates for most quantile levels but a positive difference at the upper tail. In contrast, the mean-based analysis yields an attenuated estimate, which averages this positive tail difference with the near-zero difference in other parts of the distribution.
(d) Difference in variability (Figure 4(d)). Group 1 individuals tend to have distributions with more variability compared to Group 2. Therefore, the Group 1 barycenter has a higher variance than the Group 2 barycenter, despite sharing the same overall mean. Here, the distributional analysis reveals a positive difference at the lower tail, a negative difference at the upper tail, and an approximately zero difference at the 0.5 quantile. In contrast, the mean-based analysis estimates a null difference between group means.
In scenarios (a) and (b), both the mean-based and distributional approaches yield similar results and may have comparable power to detect group differences. In scenario (c), however, the distributional approach can be more sensitive to the upper-tail difference and also characterizes a feature of the barycenter difference that the mean-based analysis obscures. Finally, in scenario (d), the mean-based approach will fail to detect the difference in variability, whereas the distributional approach can capture this difference. Together, these examples highlight two advantages of our proposal: it can have power to detect distributional differences that mean-based analyses may miss, and it provides a higher resolution comparison between groups.
Methodology
Data setup
For each individual , let denote the binary group indicator and denote the individual’s underlying within-host distribution of a numeric sequence feature (continuous or discrete). Note that , which is a realization of a distribution-valued random object, is not directly observed; we instead observe measurements sampled from this distribution, where denotes the sequencing depth. We assume that, conditional on , . We allow the distribution of sequencing depth to differ in each group, so that for , where denotes the distribution of sequencing depths for Group . In total, we observe independent individuals in our dataset, with in Group 1 () and in Group 2 (), where observations are identically distributed within each group.
From the observed measurements for individual , we can construct the empirical distribution . We also consider a smoothed version of this empirical distribution, denoted , obtained by applying a smoothing procedure to , such as kernel density smoothing or smoothing of the quantile function (Bigot et al. [3]). Both and can be viewed as error-prone proxies for , with the magnitude of error depending on the sequencing depth . Because the sequencing-depth distributions and may differ between groups, the amount of measurement error may also differ between groups. As shown in the following sections, this measurement error can bias estimation of the target estimands.
For a generic probability measure on the real line, let denote its cumulative distribution function for , and let denote its quantile function for . Because the individual-level outcome is distribution-valued, we measure distances between distributions using the 2-Wasserstein metric. In optimal transport, the Wasserstein distance quantifies the min-
imum cost of transporting probability mass from one distribution to another; in the case of the 2-Wasserstein distance on Euclidean space, this cost is based on squared Euclidean distance. For one-dimensional distributions, the 2-Wasserstein distance between and , denoted by , has a convenient representation in terms of their quantile functions:
Using this metric, we define the Wasserstein barycenter of the distribution-valued random object as the probability measure that minimizes the expected squared Wasserstein distance between a random realization of and a candidate probability measure :
where the minimum is taken over probability measures , and the expectation is taken with respect to the randomness in . We denote the corresponding quantile function by . More generally, for a generic random variable , we define the conditional Wasserstein barycenter of given by
By the one-dimensional representation of the Wasserstein distance in (1), the quantile function of the Wasserstein barycenter is given by the pointwise mean of the quantile functions of the component distributions:
Because of this representation, we frame our methodology around estimating the Wasserstein barycenter’s quantile function. In Task 1, we wish to estimate the group-specific Wasserstein barycenter quantile function
In Task 2, we estimate the quantile difference map, which compares the quantiles of the group-specific Wasserstein barycenters between the two groups:
Finally, in Task 3, our hypothesis test evaluates the global null hypothesis that the two group-specific barycenter quantile functions are equal at every quantile level in a compact set :
Remark 1 (Simple random sample assumption). The assumption may not hold depending on the sequencing technology and processing procedure used. For example, PCR resampling, amplification bias, sequencing error, and bioinformatic filtering can cause the observed sequences to deviate from independent draws from the biological viral population. In such settings, we assume that , where can be interpreted as the distribution of sequence-derived features after the sequencing and processing procedure, rather than the underlying biological viral population. Molecular barcoding approaches, such as Primer ID and related unique molecular identifier-based methods, can reduce PCR resampling artifacts and sequencing errors, improving the extent to which observed sequences reflect the viral template population present in the biological sample [40].
Task 1: Estimation and inference for the Wasserstein barycenter
We aim to estimate the group-specific barycenter quantile functions and . We first consider two estimators based on the empirical distributions and introduced above. Let
denote the empirical and pre-smoothed empirical quantile functions for individual , respectively. The first estimator is the empirical Wasserstein barycenter, which averages the empirical quantile functions within each group. Specifically, for , we define
The second is a pre-smoothed empirical Wasserstein barycenter, obtained by replacing each individual’s empirical distribution with its smoothed version before averaging the corresponding quantile functions:
These two empirical estimators perform well when sequencing depths are uniformly high, because each individual’s empirical quantile function is an accurate approximation to their true unobserved quantile function. When sequencing depth is low, however, the empirical quantile function for each individual can be biased as an estimator of the corresponding true quantile function, and this can be especially pronounced in the tails [5]. As a result, averaging these biased quantile functions across individuals produces a biased estimator of the group-specific barycenter quantile function, which does not go away with increasing sample size [3, 30]. Although pre-smoothing can reduce sampling noise, it will not generally remove this bias.
Motivated by this problem, Peng et al. [30] studied Wasserstein barycenter estimation under sparse sampling, where each individual distribution is observed through only a small number of measurements. To address the limitations of individual-level empirical quantile estimation in this setting, the paper developed the marginal-constructed barycenter (MCB) estimator, which uses information pooled across individuals rather than attempting to accurately reconstruct each individual distribution separately. The approach relies on a non-informative sequencing depth assumption, meaning that sequencing depth for an individual is assumed to be independent of that individual’s feature distribution, conditional on group. The MCB estimator is based on an alternative representation of the barycenter estimation problem through binomial mixture models, and can be configured with different structural models for these mixtures. While the asymptotic properties require that the binomial mixing distributions be correctly specified, more flexible implementations, such as spline-based mixture models, can be used in practice. (With these flexible implementations, misspecification will still be present; however, its effect on estimation and inference may be minor.)
We denote the corresponding group-specific barycenter quantile estimator by .
The three estimators are therefore suited to datasets with different sequencing depths. The empirical and pre-smoothed empirical barycenters are most appropriate when sequencing depths are uniformly large enough to support reliable estimation of individual-level quantiles. The MCB estimator is instead designed for sparse sampling settings, where individual-level distributions may be poorly estimated due to small within-subject sample sizes. In this case, the MCB estimator replaces reliance on accurate individual-level distribution estimation with structural assumptions on the marginal mixture models and on non-informative cluster sizes. We evaluate the performance of each estimator across datasets with different sequencing depths in our simulation studies in § 4.
Each estimator—, , and —is pointwise asymptotically linear () for each under estimator-specific regularity conditions; these conditions are stated explicitly in Appendix § 11. Briefly, and are pointwise asymptotically linear when the estimated quantile function for each individual distribution converges sufficiently quickly to the corresponding true quantile function. These conditions may require sequencing depths to increase sufficiently quickly with , so that the average per-individual quantile estimation error is negligible at the scale. In contrast, the MCB estimator does not require sequencing depths to increase with and is pointwise asymptotically linear when the binomial mixture models used in the estimation procedure are correctly specified. For notational simplicity, let denote any one of the estimators , , or . Then, under the conditions in Appendix § 11, we have pointwise asymptotic normality for each fixed :
where denotes convergence in distribution. Accordingly, pointwise asymptotically valid confidence intervals for can be constructed as
where is a consistent estimator of .
The pointwise asymptotic normality result above provides valid inference for at any fixed quantile level . However, pointwise results alone do not characterize the joint behavior of across quantile levels and therefore cannot be used directly to construct simultaneous confidence bands or global hypothesis tests. For these purposes, it is useful to view the function itself as the estimand and to establish convergence of the estimated function as a stochastic process. Under additional regularity conditions, also stated in Appendix § 11, the estimator converges weakly as a stochastic process. Specifically, for any compact set ,
where denotes weak convergence of stochastic processes and is a tight mean-zero Gaussian process with covariance kernel . This result allows us to perform uniform inference over . In particular, let and let denote the quantile of . Then an asymptotic uniform confidence band for based on the studentized process is given by
where and are consistent estimators of and , respectively.
Task 2: Estimation and inference for the difference in quantiles
Next, we consider estimation and inference for the quantile difference map defined in (4). Pointwise asymptotic normality of , constructed using any of , , or , follows from the asymptotic normality of the group-specific estimators together with the continuous mapping theorem and independence of both groups. Let , and suppose that for . Then, for each fixed ,
where, under independence of the two groups, .
Weak convergence in of follows from weak convergence of the group-specific estimators together with the continuous mapping theorem. Specifically,
where is a mean-zero Gaussian process with covariance kernel . Under independence of the two groups,
These results can be used to derive both asymptotically valid pointwise confidence intervals and uniform confidence bands, similar to (9) and (11) in the previous section, respectively.
Task 3: Hypothesis testing
Finally, we describe hypothesis testing for the global null hypothesis for all . By the weak convergence result in (13), the estimated difference process satisfies in . Under , for all , so the scaled observed process converges weakly to .
A global test statistic may be constructed by applying a real-valued functional to the estimated difference process. That is, for a functional , we may consider statistics of the form . If is continuous in , then under , by the continuous mapping theorem. Therefore, critical values can be obtained from the limiting Gaussian process, or in practice from a simulation-based procedure that consistently approximates its distribution [25 Chapter 10].
We consider three global test statistics based on this weak convergence result. The first two are based on the studentized difference process. Let when is an estimate of the covariance kernel of the limiting process . We define the supremum test statistic and the integrated squared test statistic as
The third statistic is based on the squared functional Mahalanobis semi-distance of the estimated difference process, analogous to Hotelling’s test but for functional data [21]. Let denote the covariance operator on induced by the estimated covariance kernel , such that . Then,
In practice, we do not use the inverse covariance operator directly, since covariance inversion is typically unstable or ill-posed in infinite-dimensional function spaces. We therefore compute a regularized version of using a truncated spectral inverse based on the first empirical functional principal components of . Specifically, if and denote the first empirical eigenvalues and eigenfunctions of , then we compute
The three test statistics are sensitive to different alternatives. The supremum statistic is most useful for detecting localized differences concentrated at a small number of quantile levels. The integrated squared statistic aggregates evidence across the quantile curve and is useful for detecting accumulated departures from the null. The Hotelling-type statistic accounts for the covariance structure across quantile levels and may be more powerful when the signal lies along low-variance directions of the estimated process (Table 1). We will evaluate the performance of each of these test statistics in our simulation study in § 4.
Remark 2 (Other test statistics). Other test statistics can be constructed from the estimated difference process depending on the alternatives of interest. For example, one-sided supremum statistics may be useful for directional alternatives, while weighted versions of can place greater
| Statistic | Test Statistic | Test Statistic (on grid ) | Sensitive to... | Figure |
| Supremum () | Localized differences at one or a small number of quantile levels | |||
| Integrated squared () | Broad differences spread across the quantile curve | |||
| Hotelling-type () | Differences after accounting for covariance across quantile levels |
caption: Candidate test statistics for comparing group-specific barycenter quantile functions and schematic alternatives to which each statistic is expected to be sensitive. The right-hand column shows toy examples of where the test statistic should be most powerful, with light lines representing individual-level quantile functions and dark lines representing the corresponding group barycenter quantile functions. Group 1 is shown in gray and Group 2 in green.
:::
emphasis on specific regions of the quantile function, such as the tails.
Implementation on a grid
In practice, the procedure can be implemented using a finite-dimensional representation of the estimated quantile functions. In our implementation, the functions are evaluated on a common dense grid in the following steps:
Choose a grid .
Estimate the Wasserstein barycenter quantile function for each group on the grid using , , or . Denote the resulting generic estimator by , and write its grid representation as
Let denote the estimated covariance matrix of the limiting process . For the empirical and pre-smoothed empirical barycenters, this covariance matrix can be estimated from the sample covariance of the individual-level empirical quantile functions; for the MCB estimator, it can be estimated using a non-parametric bootstrap.
Estimate the difference vector as
Assuming the two groups are independent, estimate the covariance matrix of the limiting process by
where .
Compute the observed test statistics (Table 1). First define the pointwise standardized differences
where is the th diagonal element of .
The supremum statistic is computed as
and the integrated squared statistic is approximated by
where are numerical integration weights, depending on the chosen grid.
The Hotelling-type statistic is computed using a regularized inverse of :
Here is obtained by retaining the first empirical functional principal components of , chosen to explain a prespecified proportion of the total variance.
Approximate the null distributions. For and , the null distribution is obtained by simulating mean-zero Gaussian difference processes with covariance :
Each simulated process is then standardized pointwise:
The statistics and are recomputed for each to estimate the null distribution for each test statistic. The Monte Carlo -value is the proportion of simulated null statistics greater than or equal to the observed statistic.
For the Hotelling-type statistic, the null distribution can be approximated using the simulated process or the asymptotic reference -distribution [21]
where is the number of retained empirical principal components.
These procedures are implemented in an accompanying R package mcbarycenter, which provides all three barycenter estimators, the corresponding difference-in-quantiles estimators, and the global testing procedures described above. A vignette illustrating the use of these methods is provided in Appendix § 9.
Remark 3 (Multiplier bootstrap). In step 2 of the procedure above, if estimation of the covariance matrix for is infeasible due to the density of the grid or for other reasons, one could use the Gaussian multiplier bootstrap to approximate the null distribution of the test statistics and [8].
Simulation studies
We conduct two simulation studies. The first examines how low sequencing depth, as well as differential sequencing depth between groups, can affect estimation and inference for Wasserstein barycenters. This study is intended to show performance of each estimator—the empirical Wasserstein barycenter, pre-smoothed empirical barycenter, or MCB estimator—under different sequencing depth settings. The second simulation study evaluates the proposed hypothesis testing procedure, focusing on the validity of each test statistic under the null and its power under a range of alternative scenarios.
In both simulation studies, we estimate each barycenter quantile function on a grid of quantile levels . We compare the following estimators:
Empirical Wasserstein barycenter.
Pre-smoothed empirical Wasserstein barycenter. Each individual distribution is pre-smoothed using kernel density estimation with a Gaussian kernel and a bandwidth selected by Silverman’s rule of thumb [32].
Correctly specified MCB estimator. A Beta distribution specification is used to fit the binomial mixing distributions, which matches the Dirichlet process specification of the data generating process.
Flexible but misspecified MCB estimator. The binomial mixing distributions are fit using splines [15]. The spline basis consists of natural splines with 5 degrees of freedom, augmented with point mass basis functions at 0 and 1, and fit using a regularization parameter of 0.01.
The correctly specified MCB estimator is included to evaluate performance when the structural assumptions required by the MCB estimator are satisfied. The spline-based MCB estimator is included to evaluate performance in a more realistic setting in which the mixing distributions may be misspecified.
Simulation Study 1: impact of varying sequencing depth on estimation bias
Setup
In the first simulation study, we examine how sequencing depth affects estimation and pointwise inference for the group-specific barycenter quantile functions and the quantile difference map. We consider sequencing depth settings roughly matching scenarios observed in the HIV-1 prevention studies described in the Introduction (Figure 1). The settings considered in the simulation are summarized in Table 2.
| Sequencing depth scenario | Sequencing depth (Group 1) | Sequencing depth (Group 2) |
| Low balanced | 2 to 15 | 2 to 15 |
| Low differential | 2 to 15 | 2 to 7 |
| High balanced | 2 to 300 | 2 to 300 |
| High differential | 2 to 300 | 2 to 150 |
Table 2. Sequencing depth ranges for Simulation Study 1
For each sequencing depth setting, we consider two sequence feature scenarios:
Null scenario: The two groups have equal Wasserstein barycenters. In both groups, each individual-level distribution is generated from a Dirichlet process with base measure and concentration parameter 2.
Alternative scenario: The two groups have unequal Wasserstein barycenters. In Group 1, each individual-level distribution is generated from a Dirichlet process with base measure and concentration parameter 2. In Group 2, each individual-level distribution is generated from a Dirichlet process with concentration parameter 2 and a bimodal Normal mixture base measure, with 80% weight on and 20% weight on .
For each simulation setting, we generate observations for 50 individuals in each group using a two-stage mechanism. (Additional simulation studies with 20 and 100 individuals per group are included in Appendix § 12.) First, for each individual, we sample an individual-level distribution according to the sequence feature scenario described above. Second, we sample that individual’s sequencing depth from a discrete uniform distribution over the corresponding range in Table 2, and then sample the corresponding number of observations from the individual’s distribution. Combining the four sequencing depth settings with the two sequence feature scenarios yields eight total simulation settings. The true group-specific Wasserstein barycenter quantile functions, and the resulting quantile difference map, are approximated by computing the empirical barycenter of one large dataset with 100,000 individuals per group and 1,000 sequences per individual. Performance is assessed in terms of bias, estimated standard error, and pointwise 95% confidence interval coverage. Each simulation setting was repeated over 500 independently generated datasets, and estimator performance was summarized across these replicates.
Results
Summary results for the bias, mean estimated standard error, and confidence interval coverage of the estimators of are shown in Figure 5 under the null and Figure 6 under the alternative. In each figure, results are averaged separately over the central quantiles (0.06–0.94) and the tail quantiles (0.01–0.05 and 0.95–0.99).

Figure 5. Summary of estimation of the difference in quantiles under the null scenario for Simulation Study 1. Results are shown across four sequencing depth settings: low balanced, low differential, high balanced, and high differential sequencing depth. For each setting, we compare the empirical barycenter, labeled “Empirical”; the pre-smoothed empirical barycenter, labeled “Pre-smoothed empirical”; the correctly specified MCB estimator, labeled “MCB (correct)”; and the misspecified spline-based MCB estimator, labeled “MCB (incorrect)”. Performance is summarized by average absolute bias, mean estimated standard error, and pointwise confidence interval coverage for , averaged separately over the central quantiles (0.06–0.94) and tail quantiles (0.01–0.05 and 0.95–0.99). The dotted horizontal line in the coverage panels indicates the nominal 95% coverage level.

Figure 6. Summary of estimator of the difference in quantiles under the alternative scenario for Simulation Study 1. Results are shown across four sequencing depth settings: low balanced, low differential, high balanced, and high differential sequencing depth. For each setting, we compare the empirical barycenter, labeled “Empirical”; the pre-smoothed empirical barycenter, labeled “Pre-smoothed empirical”; the correctly specified MCB estimator, labeled “MCB (correct)”; and the misspecified spline-based MCB estimator, labeled “MCB (incorrect)”. Performance is summarized by average absolute bias, mean estimated standard error, and pointwise confidence interval coverage for , averaged separately over the central quantiles (0.06–0.94) and tail quantiles (0.01–0.05 and 0.95–0.99). The dotted horizontal line in the coverage panels indicates the nominal 95% coverage level.
We first consider the low, balanced sequencing depth setting. Under the null scenario, all estimators perform similarly well, with negligible bias and near-nominal confidence interval coverage despite the low sequencing depths. This is expected because, under the null and with the same sequencing depth distribution in the two groups, the bias in the estimated group-specific barycenters is the same across groups. As a result, when the two estimated barycenter quantile functions are differenced, this bias cancels, producing accurate estimates of across quantile levels.
Under the alternative scenario, however, differences among the estimators become apparent. Both empirical barycenters exhibit larger bias than the MCB estimators, with the discrepancy most pronounced in the tail quantiles. The pre-smoothed empirical barycenter reduces bias relative to the empirical barycenter, but its coverage remains poor in the tails and it does not perform as well as the MCB estimators. The mean absolute bias for the tail quantiles was 0.454 for the empirical barycenter and 0.345 for the pre-smoothed empirical barycenter, compared with 0.030 and 0.064 for the correctly specified and spline-based MCB estimators, respectively. Confidence interval coverage in the tails was 71% for the empirical barycenter and 65% for the pre-smoothed empirical barycenter, compared with 93% and 91% for the correctly specified and spline-based MCB estimators, respectively.
Next, we consider the low, differential sequencing depth setting. Under the null scenario, the empirical and pre-smoothed empirical barycenters perform reasonably well for the central quantiles, with low bias and near-nominal confidence interval coverage. However, their performance deteriorates in the tails, where both estimators exhibit larger bias and reduced coverage. This pattern is more pronounced under the alternative scenario: the empirical and pre-smoothed empirical barycenters show increased bias even in the central quantiles, with the largest bias and poorest coverage occurring in the tails. These results indicate that when sequencing depth is low, systematic differences in sequencing depth between groups can distort estimation and inference on , particularly at the tail quantile levels. In contrast, both MCB estimators reduce bias and improve coverage. The correctly specified MCB estimator has the smallest bias and coverage closest to the nominal level. The flexible spline-based MCB estimator also performs well with respect to both bias and coverage, suggesting that, in this simulation setting, the spline-based specification is sufficiently flexible to approximate the relevant mixing distributions used to estimate the barycenter. Under the alternative scenario, the mean absolute bias in the tail quantiles was 0.902 for the empirical barycenter and 0.462 for the pre-smoothed empirical barycenter, compared with 0.038 and 0.152 for the correctly specified and spline-based MCB estimators, respectively; the corresponding confidence interval coverage was 31%, 71%, 95%, and 89%.
Finally, we consider the high sequencing depth settings. In these settings, the empirical barycenter performs substantially better than in the low sequencing depth settings and is generally similar to the MCB estimators for both central and tail quantiles. This improvement is expected because, with larger sequencing depths, each individual’s empirical quantile function provides a better approximation to the corresponding latent quantile function. Although some individuals still have low sequencing depths in these settings, they do not appear to have enough influence to substantially distort the empirical barycenter, particularly in the central part of the distribution. In the alternative scenario, the MCB estimators show slightly lower tail bias and coverage closer to the nominal level compared to the empirical barycenter. The pre-smoothed empirical barycenter has worse performance in the higher sequencing depth settings, especially in the tails. This shows that the smoothing step may introduce additional bias when the empirical distributions are already well-estimated.
More detailed simulation results are provided in Supplementary Figures B.2–B.7. These figures show bias, mean estimated standard error, and confidence interval coverage for both and the group-specific barycenter quantile functions, , across all quantile levels . Additional simulations with 20 and 100 individuals per group showed similar patterns and are presented in Appendix § 12.§ 1. Notably, the MCB estimators continued to perform well even with 20 individuals per group.
Simulation Study 2: hypothesis testing
Setup
In the second simulation study, we evaluate the proposed hypothesis testing procedure across a range of two sample scenarios. The goal is to assess Type I error under null scenarios with equal Wasserstein barycenters and power under alternatives with different types of barycenter differences.
As in Simulation Study 1, we generate individual-level distributions from Dirichlet processes. We consider four broad classes of scenarios, described in high-level below with full details provided in Supplementary Table B.2:
Null: The two groups have identical Wasserstein barycenters. We consider three null settings with different common barycenter shapes: normal, symmetric bimodal, and non-symmetric bimodal.
For the alternative scenarios (2)–(4), Group 1 is generated from a Dirichlet process with a Normal(0, 1) base distribution. The Group 2 data-generating distribution is chosen so that the resulting barycenter differs from the Group 1 barycenter in the following ways:
Uniform differences: The Group 2 barycenter differs from the Group 1 barycenter by an approximately constant shift across quantile levels. We examine three shift magnitudes, labeled “Uniform shift = 0.1, 0.2, 0.3.”
Upper-tail differences: The Group 2 barycenter differs from the Group 1 barycenter primarily in the upper tail. We examine upper-tail shifts of increasing magnitude, labeled “Upper-tail shift = 1, 2, 3.”
Shape differences: The Group 2 barycenter differs from the Group 1 barycenter in overall shape. These alternatives are generated using a bimodal base distribution for Group 2, with increasing component dispersion and consequently greater overlap between the two modes, labeled “Bimodal = 0.2, 0.4, 0.6.”
The group-specific Wasserstein barycenters for all scenarios are shown visually in Supplementary Figure B.1. To focus on the behavior of the test statistics apart from the low sequencing depth bias studied in Simulation Study 1, the main simulation is conducted under the high, balanced sequencing quencing depth setting described in Table 2. (Results for the other sequencing depth settings are provided in Appendix § 12.§ 2.) For each scenario, we simulate 100 individuals per group and apply each proposed test statistic (, , and ) to test the null hypothesis of equal Wasserstein barycenters at significance level . We repeat this procedure over 200 simulated datasets and estimate the rejection probability as the proportion of datasets in which the null hypothesis is rejected. This rejection probability estimates the Type I error under the null scenarios and power under the alternative scenarios. Under the alternative scenarios, we compare the power of the proposed distributional tests with a mean-based analysis, in which the sequence features are averaged within each individual and the groups are compared using an unequal-variance two-sample -test.
Results
Results are shown in Figure 7. Under the null settings, all barycenter estimators and all three test statistics had rejection probabilities close to the nominal 5% level.

Figure 7. Rejection probabilities across the three null scenarios and nine alternative scenarios for each estimator and test statistic. The four barycenter estimators considered are the empirical barycenter (“Empirical”), the pre-smoothed empirical barycenter (“Pre-smoothed empirical”), the correctly specified MCB estimator (“MCB (correct)”), and the misspecified spline-based MCB estimator (“MCB (incorrect)”). The mean test is based on averaging the sequence features within each individual and applying Welch’s two-sample t-test to the resulting individual-level averages. The second row presents enlarged views of the three null scenarios, with the y-axis restricted to 0–0.10. The dashed horizontal line indicates the nominal significance level of 0.05.
For the uniform difference alternatives, the three test statistics performed similarly, with rejection probabilities increasing as the size of the mean shift increased. In these scenarios, the correctly specified and spline-based MCB estimators tended to have slightly higher power compared to the empirical barycenters. The distributional tests also generally had similar power to the mean-based analysis. This is expected because the difference between the two group barycenters is approximately constant across quantile levels, so averaging the sequence features within each individual does not remove the main signal. For example, in the mean shift = setting, the rejection probabilities for the supremum test were 70.0%, 66.0%, 75.5%, and 78.0% for the empirical barycenter, pre-smoothed empirical barycenter, correctly specified MCB estimator, and spline-based MCB estimator, respectively, compared with 68.0% for the mean-based analysis.
For the upper-tail alternative scenarios, the supremum test statistic generally had the largest rejection probabilities among the three proposed test statistics, especially as the magnitude of the upper-tail shift increased. The correctly specified and spline-based MCB estimators tended to have the highest power, while the empirical and pre-smoothed empirical barycenters performed similarly. In this setting, the distributional tests had substantially higher power than the mean-based analysis. This is because the group difference is concentrated in the upper tail, and averaging the sequence features within each individual attenuates this localized signal. For example, in the upper-tail shift = 2 setting, the rejection probabilities for the supremum test were 45.0%, 43.5%, 61.0%, and 59.0% for the empirical barycenter, pre-smoothed empirical barycenter, correctly specified MCB estimator, and spline-based MCB estimator, respectively, compared with 23.0% for the mean-based analysis.
Finally, for the shape difference alternatives, the Hotelling-type test and supremum test had the largest rejection probabilities, while the integrated squared test tended to have lower power. The Hotelling-type test was particularly powerful for the MCB estimators, consistent with the fact that this statistic accounts for covariance across quantile levels and can be more sensitive to structured departures from the null that occur across the quantile function. As in the previous settings, the correctly specified MCB estimator generally had the largest rejection probabilities. The mean-based analysis had little power in this setting because the two groups have similar average feature values despite having different barycenter shapes. For example, in the bimodal = 0.4 setting, the rejection probabilities for the supremum test were 72.5%, 83.5%, 85.0%, and 72.0% for the empirical barycenter, pre-smoothed empirical barycenter, correctly specified MCB estimator, and spline-based MCB estimator, respectively, compared with 3.5% for the mean-based analysis.
Recommendations from simulation studies
Simulation Study 1 provides guidance for choosing the barycenter estimator in these particular sequencing depth scenarios. In low sequencing depth settings, especially when sequencing depths differed between groups or tail behavior was of interest, the empirical barycenter performed poorly. In these settings, we recommend using an MCB estimator as the primary approach, provided that there are enough individuals to estimate the binomial mixtures. Although a correctly specified MCB estimator is not available in practice, the spline-configured MCB estimator substantially improved performance relative to the empirical barycenter and continued to perform well even with 20 individuals per group (Appendix § 12.§ 1).
In high sequencing depth settings, the empirical barycenter performed well across both balanced and differential sequencing depth scenarios and may be preferable as the primary estimator
because it is less model-dependent. Compared to the empirical barycenter, the spline-based MCB estimator had modestly lower bias particularly in the tails, but this advantage depends on how closely the mixture model specification matches the truth. We therefore recommend using the empirical barycenter as the primary analysis in high sequencing depth studies, with the spline-based MCB estimator potentially used in a sensitivity analysis. The pre-smoothed empirical barycenter showed mixed performance. Pre-smoothing sometimes reduced bias in low sequencing depth settings, but did not perform as well as the MCB estimators; in higher sequencing depth settings, it introduced additional bias.
Simulation Study 2 provides guidance for choosing among the three global test statistics. The integrated squared statistic performed similarly to the other statistics under uniform mean shifts, but had lower power for upper-tail and shape difference alternatives. The supremum statistic performed best for localized upper-tail differences, while the Hotelling-type statistic performed well for shape differences. When there is no strong reason to prioritize a specific alternative, we recommend the supremum statistic as the default as it consistently performed well across the simulation settings.
Finally, Simulation Study 2 shows when the proposed distributional framework has the most power to detect group differences relative to a mean-based analysis. When group differences were approximately constant across quantile levels, the distributional tests had power similar to the mean-based test. In contrast, when differences were concentrated in the upper tail or reflected differences in barycenter shape, the distributional tests had significantly higher power because they retained information across the full quantile function.
Data applications
We apply our approach to the AMP HIV-1 prevention trials (HVTN 703/704) and a study on vaccine-elicited B cell receptor maturation. The goal of these applications is to illustrate how the proposed distributional analysis compares with a standard mean-based analysis and how the quantile difference map can be used to interpret differences between groups.
AMP HIV-1 prevention trials (HVTN 703/704)
The AMP trials tested whether the broadly neutralizing antibody VRC01 could prevent HIV-1 acquisition [9]. In these trials, HIV-negative participants were randomized to receive a placebo, low-dose VRC01 (10 mg/kg), or high-dose VRC01 (30 mg/kg) every 8 weeks. Overall efficacy was modest, with an estimated efficacy of 29.0% (95% CI: -4.0 to 51.6) for the high-dose arm and 7.2% (95% CI: -33.3 to 35.3) for the low-dose arm, pooled across both AMP trials. Among participants who acquired HIV-1 during follow-up, viral samples were deep-sequenced using PacBio sequencing technology to characterize within-host diversity in the HIV-1 Env protein [37]. Among participants who acquired HIV-1 during follow-up, sequencing data were available for 67 in the placebo arm and 105 in the pooled VRC01 arms. Previous analyses found that VRC01 had an estimated efficacy of 75.4% (95% CI: 45.5%, 88.9%) against viruses that were highly sensitive to VRC01 neutralization [9].
For each viral sequence, we considered three numeric features related to VRC01 susceptibility as previously considered in Juraska et al. [22]: (1) Hamming distance to a VRC01-sensitive reference sequence at pre-selected sites, (2) predicted IC80, and (3) epitope distance. Predicted IC80 is the sequence-predicted concentration of VRC01 required to inhibit viral infection by 80%, with larger values indicating greater predicted resistance to VRC01 neutralization. Epitope distance is a structure-informed measure of how different the VRC01-binding epitope in a given viral sequence is from epitopes in highly VRC01-sensitive reference sequences, with larger values indicating greater divergence from VRC01-sensitive viruses. Our goal was to compare these feature distributions between the placebo arm and the VRC01 arm (pooling both low-dose and high-dose arms). Because this analysis conditioned on HIV-1 infection, the comparison between arms should not be interpreted causally, despite randomization in the original trial [18]. As the primary analysis, we applied our framework using the empirical barycenter on the grid 0.01, 0.02, . . . , 0.99. We conducted a sensitivity analysis using the spline-configured MCB estimator with 5 degrees of freedom augmented with two point mass basis functions at 0 and 1. We tested for equality of barycenters using the supremum test statistic . For comparison, we also report a mean-based analysis, in which the features are first averaged within each individual and the groups are then compared using an unequal-variance two-sample -test.
Results for the three features are shown in Figure 8, and analogous results using the spline-configured MCB estimator are shown in Supplementary Figure B.8. In each row of Figure 8, the left-hand panels show the treatment arm-specific mean summaries and estimated barycenter quantile functions, while the right-hand panels show the corresponding estimated mean differences and quantile difference maps.

Figure 8. Using the empirical Wasserstein barycenter estimator, analysis of three VRC01 susceptibility-associated features among AMP participants who acquired the primary endpoint of HIV-1 infection: (A) Hamming distance to a VRC01-sensitive reference sequence at pre-selected sites, (B) predicted IC80, and (C) epitope distance. For each feature, the left panels show the arm-specific mean summaries and estimated empirical barycenter quantile functions for the placebo arm and the pooled VRC01 arms. The right panels show the corresponding VRC01-minus-placebo estimated mean difference and quantile difference map. Shaded bands indicate pointwise 95% confidence intervals. Reported -values correspond to the mean-based unequal-variance two-sample -test for the mean panels and the supremum test for equality of barycenters for the quantile panels.
The three features show different patterns of separation between the placebo arm and the pooled VRC01 arm. For Hamming distance at the pre-selected sites, the estimated placebo and VRC01 empirical barycenters are nearly indistinguishable. The estimated quantile difference is close to zero across the full range of quantile levels, and there is no evidence of a difference between arms using either the mean-based analysis () or the empirical barycenter-based analysis ().
For predicted IC80, the VRC01 arm’s estimated barycenter quantile function is larger than that of the placebo arm across much of the distribution, with the separation most apparent among higher quantiles. Neither the mean-based analysis () nor the distributional analysis () provide evidence of a difference between arms. Nevertheless, the quantile difference map suggests that the estimated difference between the two arms is not well summarized by a uniform shift: the estimated difference is positive over most quantile levels but becomes larger in the upper tail. The sensitivity analysis using the spline-configured MCB estimator shows a similar but more pronounced upper-tail difference ().
Finally, for epitope distance, the VRC01 arms have higher values than the placebo arm across nearly all quantile levels. Both the mean-based analysis and the empirical barycenter-based analysis show strong evidence of a difference between arms ( for both comparisons). The estimated quantile difference map shows a relatively stable difference across most quantile levels, although it decreases at the extreme upper tail, where estimates are typically less stable. Thus, for the epitope distance feature, the distributional analysis supports the same conclusion as the mean-based analysis, while also showing that the result generally reflects uniform difference between the placebo and VRC01 barycenter distributions rather than a difference restricted to a specific portion of the distribution.
Vaccine-elicited B cell receptor maturation
Willis et al. [38] studied a germline-targeting HIV vaccine strategy designed to guide rare B cells toward making VRC01-class broadly neutralizing antibodies. This strategy aimed to induce the accumulation of somatic mutations in these B cells, promoting their maturation toward broadly neutralizing antibodies. The first vaccine, eOD-GT8 60mer (eOD), served as a germline-targeting prime to activate rare VRC01-class precursor B cells, while the second vaccine, core-g28v2 60mer (core), served as a heterologous boost intended to promote further maturation of those cells.
The study included two phase 1 trials: IAVI G002 in North America, which evaluated both the priming and boosting strategy, and IAVI G003 in Rwanda and South Africa, which evaluated the priming strategy only. In IAVI G002, participants were assigned to different vaccination schedules involving eOD and/or core, while G003 participants received two doses of eOD at weeks 0 and 8, as shown in Figure 1 of Willis et al. [38]. Samples were collected at multiple time points from each participant. Antigen-specific B cells were sorted from PBMC samples and analyzed by B-cell receptor (BCR) sequencing to characterize VRC01-class responses at the antibody-sequence level, allowing the researchers to measure response frequencies, heavy- and light-chain somatic hypermutation, and the accumulation of mutations associated with more mature VRC01-class broadly neutralizing antibodies. Willis et al. [38] compared six vaccination schedule–timepoint combinations, with results shown in Figure 5 of their paper. Labels give the PBMC sampling week followed by the immunogens administered at week 0, at weeks 0 and 8, or at weeks 0, 8, and 16: wk 8 eOD, wk 16 eODeOD, wk 16 eODcore, wk 24 eODeOD, wk 24 eODcore, and wk 24 eODeODcore. The descriptions of each group and their sample sizes are provided in Supplemental Table B.3.
We apply our framework to these data by analyzing the heavy-chain percent mutation feature for each sequence. For each group, we estimate the Wasserstein barycenter quantile function on the grid 0.01, . . . , 0.99. Because most groups have small participant sample sizes () but high sequencing depths, we use the empirical barycenter. We conduct one representative two-sample comparison: wk24 eODcore versus wk24 eODeODcore. We test the equality of barycenters using the supremum test statistic .
The results are shown in Figure 9. Panel (a) displays the distributional and mean-based summaries for all six groups. Estimated heavy-chain mutation levels increase over time across nearly all quantiles with the eODcore vaccine schedule showing the highest levels at both weeks 16 and 24 compared to the other vaccination regimens. The mean-based summaries show the same ordering across time and regimen. Panel (b) focuses on the comparison between wk24 eODcore and wk24 eODeODcore. The estimated barycenter difference, defined as wk24 eODcore minus wk24 eODeODcore, is 0.205% at the 0.01 quantile (95% CI: −0.696%, 1.105%), 1.034% at the median (95% CI: 0.225%, 1.842%), and 1.484% at the 0.99 quantile (95% CI: 0.565%, 2.403%). Thus, the estimated group difference is not uniform across the mutation distribution; instead, it becomes more pronounced among sequences with higher mutation levels. The supremum test rejects the null hypothesis of equal barycenters (), providing strong evidence that the two groups differ in their mutation barycenter distributions. The corresponding mean-based analysis estimates an average difference of 0.837% (95% CI: 0.085%, 1.588%, ). In the original analysis reported by Willis et al. [38], which summarized each participant’s distribution using the participant-specific median, the difference between these groups was not found to be statistically significant.

Figure 9. BCR sequencing analysis of vaccine-elicited VRC01-class responses using heavy-chain percent mutation as the sequence-level feature. (a) Estimated group summaries for the six vaccination schedule–timepoint groups. The left panel shows the group mean of the participant-specific mean percent mutation values, and the right panel shows the corresponding empirical Wasserstein barycenter quantile functions. (b) Two-sample comparison of week 24 versus week 24 . The left panel shows the estimated difference in participant-level mean percent mutation, and the right panel shows the estimated quantile difference map, defined as the week 24 barycenter quantile function minus the week 24 barycenter quantile function. Vertical bars and shaded bands indicate pointwise 95% confidence intervals, and the dashed horizontal line marks zero difference. Reported -values correspond to the unequal-variance two-sample -test for the mean comparison and the supremum test for equality of Wasserstein barycenters for the quantile comparison.
Discussion
We proposed a framework for two-sample comparisons of sequence-derived numeric feature distributions from deep sequencing data. Rather than reducing each individual’s sequence set to a scalar summary, the approach treats the sequence-derived feature values for each individual as a distribution-valued outcome. Groups are summarized using Wasserstein barycenters, and group differences are described through quantile difference maps. This allows researchers to compare groups across the full within-host feature distribution and to distinguish uniform shifts from localized tail differences or differences in distributional shape. In contrast, mean-based analyses can identify average differences but may obscure where in the distribution those differences arise.
A key practical consideration is sequencing depth. When sequencing depth is low, an individual’s empirical distribution may poorly approximate the corresponding within-host feature distribution, which can bias estimation of the group barycenter, particularly in the tails. In our
simulations, the empirical barycenter performed poorly in low sequencing settings, especially when sequencing depths differed between groups. In such settings, the MCB estimator is preferable, provided that there are enough individuals to estimate the binomial mixture components. In higher sequencing depth settings, the empirical barycenter performed well, even when some individuals had low sequencing depths. This is consistent with the theoretical results of Zhou and Müller [41], which allow some units to have few observations when others have many. Thus, we recommend the empirical barycenter for high sequencing depth applications and the spline-configured MCB estimator for sparse settings. For settings that differ from those studied in this paper, simulations can be used to guide the choice of estimator.
The quantile grid in our implementation should also be chosen with the observed sequencing depths and scientific target of interest. Our simulations considered quantiles from 0.01 to 0.99, but less extreme grids, such as 0.2 to 0.8, may be reliable at lower sequencing depths. Conversely, inference farther into the tails requires greater sequencing depth and is more sensitive to estimator choice. Developing data-adaptive tools for selecting the quantile grid represents an interesting area for future research that could improve the usability of our framework and reduce reliance on manual choices.
Our presentation focused on the two independent sample setting. In many settings, the analysis might seek to adjust for covariates. Existing approaches for causal inference with distributional outcomes provide one path forward for estimating covariate-adjusted treatment effects on barycenter quantile functions ([27]). The empirical barycenter and pre-smoothed empirical barycenter can be incorporated into these approaches directly, whereas extending the MCB estimator to covariate-adjusted settings requires additional work. With discrete covariates, one could estimate covariate-specific barycenters and then marginalize over a target covariate distribution to obtain an adjusted average treatment effect. For continuous covariates, inverse probability weighting, as in Example 7.2 of Peng et al. [30], may provide a useful direction.
Several methodological extensions are also natural. The present work considered one-dimensional sequence features, but some sequence-derived summaries are multivariate and would require alternatives to quantile function representations. Longitudinal extensions would allow investigators to study how within-host feature distributions evolve over time and whether those trajectories differ between groups. Relatedly, paired or repeated-measures versions of the proposed tests would be useful when the same individuals are observed under multiple conditions or across multiple visits.
Acknowledgments
The authors thank the participants and investigators of HVTN 703/704 and IAVI G002/G003, and Craig Magaret for constructing the HVTN 703/704 trial datasets. The authors also thank Pamela Shaw, Thomas Richardson, Aaron Hudson, Lillian Cohn, Paul Edlefsen, Raabya Rossenkhan, and James Ludwig for their helpful discussions and insights. This research was supported by the National Institute of Allergy and Infectious Diseases of the National Institutes of Health under grants UM1 AI068635 and R37AI054165. The content is the sole responsibility of the authors and does not necessarily represent the official views of the National Institute of Allergy and Infectious Diseases and the National Institutes of Health.
Data availability
The HVTN 703/704 data will be posted on an HVTN public repository at Harvard Dataverse. The IAVI G002/G003 data are available at https://github.com/SchiefLab/G002-and-G003.
mcbarycenter R package
In this vignette, we describe the mcbarycenter R package, which can be used to implement the three tasks presented in the main body of this paper. The R package is available here.
devtools::install_github("jpspeng/mcbarycenter")
We discuss usage of the package in a general two-sample distributional setting. Specifically, suppose we have independent units, indexed by , each with an associated underlying distribution . We do not observe each directly. Instead, for each unit , we observe independent samples from :
Additionally, each unit may have an associated group label , and we may want to compare units across groups.
In this vignette, we use the sparse dataset example sparse_dist_data data frame available in the package. We also use the dplyr package for data manipulation.
library(mcbarycenter)
library(dplyr)
Preliminaries
The dataset should include two columns: an ID column, which contains the individual ID, and a value column, which contains samples from the individual’s underlying distribution. In many functions, we specify the names of these columns using the arguments id_col and val_col.
The sample data also has a group column, which takes the values 1 or 2 and describes the groups that we wish to compare.
head(sparse_dist_data)
group id value
1 1 1 0.20
2 1 1 0.20
3 1 1 0.20
4 1 2 -0.35
5 1 2 -0.12
6 1 2 0.08
We subset the data into the two groups:
sample_data1 <- sparse_dist_data %>% filter(group == 1)
sample_data2 <- sparse_dist_data %>% filter(group == 2)
We will also need to specify a grid to do our analysis. The functions default to the grid 0.01, ..., 0.99, but a more resolved grid could be of interest if the number of samples per distribution is higher.
Exploratory analysis
To begin, we may wish to visualize each individual’s empirical quantile function. This allows us to see general patterns in the raw data and identify individuals whose data look different from others.
To visualize the empirical quantile curve for each individual distribution, we can use the graph_individual_quantiles() function. This function computes empirical quantiles separately for each ID and then plots the resulting curves. The code below displays the empirical quantile functions for the first three ids.
graph_individual_quantiles(sample_data1 %>% filter(id %in% c(1, 2, 3)),
id_col = "id",
val_col = "value")
When interactive = TRUE, which is the default, the function returns an interactive plotly widget. The curves are visible by default, and clicking a line highlights the selected individual. Double-clicking resets the plot.

Figure A.1. Output of the graph_individual_quantiles() function.
In the figure above, we can see the individual quantile functions for the first three ids. As shown, individual 1 (sample size ) has a homogeneous sample, indicated by a flat empirical quantile function. Individual 2 (sample size ) has an extended right tail; that is, their empirical distribution has a small proportion of high values. Individual 3 (sample size ) has wide variability in their observed empirical distribution.
Task 1: Wasserstein barycenter estimation
We begin with the first analytic task: estimating the Wasserstein barycenter’s quantile function, equivalently the mean quantile function, for each group. We denote the Wasserstein barycenter quantile function for Group 1 as and that for Group 2 as , for .
Empirical Wasserstein barycenter. To estimate the empirical Wasserstein barycenter’s quantile function, we can use the empbary() function. This function computes empirical quantiles for each subject and then averages those quantiles pointwise. The main arguments are:
df: the input data frame containing the observed samples.
id_col: the name of the column identifying the individual or unit.
val_col: the name of the numeric column containing observations from each individual’s underlying distribution.
weight_col: an optional column containing id-level weights. IfNULL, the empirical barycenter is unweighted.
quantile_grid: the grid of quantile levels at which the barycenter quantile function is estimated. The default isseq(0.01, 0.99, 0.01).
presmooth: whether to pre-smooth each individual’s empirical distribution before estimating quantiles. IfTRUE, a Gaussian kernel density estimate is used to estimate each individual’s quantile function. The default isFALSE.
quantile_type: the interpolation rule passed tostats::quantile()through its type argument. The default is 1. This argument is ignored whenpresmooth = TRUE.
emp_res_grp1 <- empbary(
df = sample_data1,
id_col = "id",
val_col = "value",
quantile_grid = seq(0.01, 0.99, 0.01), # optional, defaulted to 0.01, 0.02, ..., 0.99
quantile_type = 1 # optional, defaulted to quantile_type = 1
)
emp_res_grp2 <- empbary(
df = sample_data2,
id_col = "id",
val_col = "value"
)
This function call returns an empbary_result object containing the estimated quantile curve in res. The res object contains estimates, standard error estimates, and 95% pointwise confidence intervals for each quantile level. The returned object also includes an estimated covariance matrix in cov and the standardized input data in data. The covariance matrix is estimated as the sample covariance matrix of the individual-level empirical quantile functions.
head(emp_res_grp1$res)
quantile estimate se ci_lo ci_hi
1 0.01 -1.233814 0.05900223 -1.349456 -1.118172
2 0.02 -1.233814 0.05900223 -1.349456 -1.118172
3 0.03 -1.233814 0.05900223 -1.349456 -1.118172
4 0.04 -1.233814 0.05900223 -1.349456 -1.118172
5 0.05 -1.233814 0.05900223 -1.349456 -1.118172
6 0.06 -1.233814 0.05900223 -1.349456 -1.118172
Marginal-constructed barycenter. To estimate the marginal-constructed barycenter estimator, we can use the mcbary() function, which implements the procedure discussed in Peng et al. (2026). Briefly, the method transforms the problem of estimating the Wasserstein barycenter’s quantile function into the problem of estimating the mixing distributions of a sequence of binomial mixture data.
The main arguments include:
df: the input data frame containing the observed samples.id_col: the name of the column identifying the individual or unit.val_col: the name of the numeric column containing observations from each individual’s underlying distribution.method: the mixture estimation method. Options include"spline","npmle", and"beta".x_grid: a user-specified threshold grid used to construct the binomial mixture problems.cutpoints: an optional number of evenly spaced thresholds. Eitherx_gridorcutpointsmust be supplied.bootstrap_samples: the number of bootstrap resamples used for uncertainty estimation.quantile_grid: the grid of quantile levels at which the barycenter’s quantile function is estimated.
use_midpoint: whether to use interval midpoints between adjacent thresholds when constructing the estimated distribution of the -quantile. Defaulted toFALSE.
estimate_endpoints: whether to estimate endpoint intervals when constructing the estimated distribution of the -quantile. Defaulted toFALSE.
use_isotonic_dist: whether to enforce monotonicity in the cumulative mixture curves across threshold values. Defaulted toFALSE.
use_isotonic_output: ifTRUE, whether to enforce monotonicity in the final quantile function estimate. Defaulted toFALSE.
For the mixing distribution specification method = "spline", we can additionally specify the arguments pDegree, which sets the degrees of freedom of the natural spline basis used for estimation, and c0, which sets the penalty constant in the spline deconvolution procedure. We may also specify mass_at_endpoints, which, when set to TRUE, includes point masses at 0 and 1 in the spline specification. For the nonparametric maximum likelihood specification method = "npmle", we can additionally specify the argument backend, which can be either "mixsqp" (the default) or "REBayes"; the latter is typically faster, but requires a working installation of Mosek.
In the example below, we use the Beta mixture specification with 100 cutpoints and 20 bootstrap samples. The number of bootstrap samples is kept small for illustration.
mcb_res_grp1 <- mcbary(
df = sample_data1,
id_col = "id",
val_col = "value",
method = "beta",
cutpoints = 100,
use_midpoint = TRUE,
estimate_endpoints = TRUE,
bootstrap_samples = 20
)
mcb_res_grp2 <- mcbary(
df = sample_data2,
id_col = "id",
val_col = "value",
method = "beta",
cutpoints = 100,
use_midpoint = TRUE,
estimate_endpoints = TRUE,
bootstrap_samples = 20
)
The function returns an mcbary_result object. As with empbary(), the estimated quantile curve and uncertainty summaries are stored in res. The returned object also includes a bootstrap covariance matrix in cov, the estimated mixing distributions in mixtures, the chosen estimation method in method, and the standardized input data in `data.
head(mcb_res_grp1$res)
quantile estimate estimate_bs se ci_lo ci_hi pct_ci_lo pct_ci_hi
1 0.01 -2.425729 -2.548356 0.23763321 -2.891481 -1.959976 -2.949559 -2.189461
2 0.02 -2.118623 -2.159557 0.19366656 -2.498203 -1.739044 -2.559116 -1.883249
3 0.03 -1.959824 -1.994593 0.15997799 -2.273375 -1.646273 -2.325571 -1.783354
4 0.04 -1.836431 -1.867426 0.14085874 -2.112509 -1.560353 -2.145595 -1.643759
5 0.05 -1.734236 -1.750998 0.11389409 -1.957464 -1.511008 -2.012996 -1.570377
6 0.06 -1.645746 -1.654283 0.09297791 -1.827980 -1.463513 -1.902211 -1.505443
Graphing. To visualize these quantile functions, we can use the graph_quantiles() function. This function takes as input empbary_result objects, mcbary_result objects, or any data frame with the columns quantile and estimate. If confidence intervals are available, they can also be displayed using the columns ci_lo and ci_hi. We can include multiple objects in the function call, and the function will graph all of the results on the same plot.
The code below graphs the empirical barycenter and MCB estimator for each group.
graph_quantiles(
emp_grp1 = emp_res_grp1,
emp_grp2 = emp_res_grp2,
mcb_grp1 = mcb_res_grp1,
mcb_grp2 = mcb_res_grp2,
show_ci = TRUE # optional, defaults as TRUE
)

Figure A.2. Empirical and marginal-constructed barycenter estimates for Groups 1 and 2.
We can also visualize the intermediate estimated mixing distributions using graph_mixtures().
This can be useful for checking the intermediate objects used to construct the MCB estimator.
graph_mixtures(mcb_res_grp1)

Figure A.3. Estimated mixing distributions from the mcbary() procedure for Group 1.
Task 2: Difference in quantiles
The second analytic task is to estimate the difference between the barycenter quantile functions for the two groups. We define the difference in quantiles as
Our goal is to estimate over a grid of quantile levels.
To compute this difference, we can use the quantile_diff() function. This function takes two estimated barycenter objects and returns the pointwise difference between their estimated quantile functions, along with their estimated standard errors and 95% confidence intervals. In the example below, we compute the difference between the two MCB estimates.
quantile_diff_res <- quantile_diff(mcb_res_grp2, mcb_res_grp1)
head(quantile_diff_res)
quantile estimate se ci_lo ci_hi
1 0.01 0.3247018 0.3151857 -0.29305083 0.9424544
2 0.02 0.2118083 0.2306834 -0.24032298 0.6639395
3 0.03 0.1946393 0.1952820 -0.18810627 0.5773850
4 0.04 0.1840011 0.1755934 -0.16015565 0.5281578
5 0.05 0.1762177 0.1376481 -0.09356763 0.4460030
6 0.06 0.1695939 0.1168332 -0.05939498 0.3985828
We can graph the estimated difference curve using graph_quantiles().
graph_quantiles(mcb_difference = quantile_diff_res)

Figure A.4. Estimated difference between the MCB barycenter quantile functions for Group 2 versus Group 1.
This plot shows how the estimated group difference varies across the distribution. Positive values indicate quantile levels at which the estimated Group 2 barycenter is larger than the estimated Group 1 barycenter, while negative values indicate quantile levels at which the estimated Group 1 barycenter is larger.
Task 3: Hypothesis testing
The third analytic task is to test whether the barycenter quantile functions differ between groups.
In this setting, the null hypothesis is that the two groups have the same Wasserstein barycenter over the unit interval:
Equivalently, in terms of the difference in quantiles,
To carry out this test, we can use the equalbary_test() function. The function takes two estimated barycenter objects as input. These objects should be estimated on the same quantile grid; the hypothesis test is performed on this grid. The argument B specifies the number of resamples used to approximate the null distribution, and seed can be specified for reproducibility. For the Hotelling’s -type test, we can specify the proportion of total variance to retain through the variance_explained argument, and the test uses the first empirical functional principal components needed to explain at least this proportion of the variance; the default is 0.95.
comparison <- equalbary_test(
mcb_res_grp1,
mcb_res_grp2,
B = 1000,
seed = 1
)
The output includes results for three test statistics: the supremum norm (in sublist $sup_norm), the integrated squared norm (in sublist $int_sq_norm), and the Hotelling’s -type test statistic (in sublist $hotelling). Each of these test statistics are described in Table 1. Each sublist contains the two-sided p-value for the test (pval), the observed test statistic (T_obs), and the simulated null (T_sim) test statistics. In the code below, we extract the p-values from using each of the three test statistics.
comparison$sup_norm$pval
comparison$int_sq_norm$pval
comparison$hotelling$pval
[1] 0.07
[1] 0.005
[1] 0.1442255
Supplemental tables and figures
| Study (Years) | Region | Intervention | Study Population | N | HIV+ | HIV+ with sequence data available |
| Phambili HVTN 503 (2007–2012) | South Africa | MRKAd5 HIV-1 gag/pol/nef subtype B vaccine | Sexually active HIV-1 seronegative men and women | 801 | 62 | 43 |
| AMP HVTN 703/704 (2016–2022) | Sub-Saharan Africa (HVTN 703); Americas, Switzerland (HVTN 704) | VRC01 broadly neutralizing monoclonal antibody | Women age 18–35 (HVTN 703); MSM and transgender persons age 18–50 (HVTN 704) | 4,623 | 174 | 172 |
| Imbokodo HVTN 705 (2017–2022) | Sub-Saharan Africa | Ad26.Mos4.HIV plus clade C gp140 mosaic vaccine regimen | Women age 18–35 | 2,637 | 119 | 116 |
Table B.1. Example HIV-1 prevention trials with viral sequencing data, with number of study participants, diagnosed HIV-1 infections, and HIV+ individuals with sequencing data.
| Scenario name | Group 1 configuration | Group 2 configuration |
| Null: normal | ||
| Null: symmetric bimodal | 50% + 50% | 50% + 50% |
| Null: non-symmetric bimodal | 70% + 30% | 70% + 30% |
| Mean shift = 0.1 | ||
| Mean shift = 0.2 | ||
| Mean shift = 0.3 | ||
| Upper-tail shift = 1 | 95% + 5% | |
| Upper-tail shift = 2 | 95% + 5% | |
| Upper-tail shift = 3 | 95% + 5% | |
| Bimodal: 0.2 | 50% + 50% | |
| Bimodal: 0.4 | 50% + 50% | |
| Bimodal: 0.6 | 50% + 50% |
Table B.2. Base measure configurations for the Dirichlet processes used in Simulation Study 2. All Dirichlet processes were configured with a concentration parameter of 2.

Figure B.1. Wasserstein barycenter quantile functions for Group 1 (solid gray) and Group 2 (dotted green) for the conditions studied in Simulation Study 2.

Figure B.2. Bias of the estimated quantile difference map in Simulation Study 1. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth settings: low balanced, low differential, high balanced, and high differential. Each curve shows the bias of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure B.3. Mean estimated standard error of the estimated quantile difference map in Simulation Study 1. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth settings: low balanced, low differential, high balanced, and high differential. Each curve shows the mean estimated standard error of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure B.4. 95% confidence interval coverage of the estimated quantile difference map in Simulation Study 1. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth settings: low balanced, low differential, high balanced, and high differential. Each curve shows the 95% confidence interval coverage of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure B.5. Bias of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a Normal(0, 1) base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the bias of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure B.6. Mean estimated standard error of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a Normal(0, 1) base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the mean estimated standard error of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure B.7. 95% confidence interval coverage of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a Normal(0, 1) base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the 95% confidence interval coverage of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure B.8. Using the spline-configured MCB estimator, analysis of three VRC01 susceptibility-associated features among AMP breakthrough infections: (A) Hamming distance to a VRC01-sensitive reference sequence at pre-selected sites, (B) predicted IC80, and (C) epitope distance. For each feature, the left panels show the arm-specific mean summaries and estimated barycenter quantile functions for the placebo arm and the pooled VRC01 arms. The right panels show the corresponding VRC01-minus-placebo estimated mean difference and quantile difference map. Shaded bands indicate pointwise 95% confidence intervals. Reported -values correspond to the mean-based unequal-variance two-sample -test for the mean panels and the supremum test for equality of barycenters for the quantile panels.
| Analysis label | Vaccination schedule | PBMC sample | Unique participants | Median sequences (IQR) |
| wk8 eOD | eOD at week 0 | Week 8 | 16 | 34 (21.8, 61.2) |
| wk16 eOD→eOD | eOD at week 0; eOD at week 8 | Week 16 | 24 | 101.5 (53, 262.8) |
| wk16 eOD→core | eOD at week 0; core at week 8 | Week 16 | 16 | 121 (62.8, 318.5) |
| wk24 eOD→eOD | eOD at week 0; eOD at week 8 | Week 24 | 13 | 160 (53, 187) |
| wk24 eOD→core | eOD at week 0; core at week 8 | Week 24 | 17 | 265 (36, 494) |
| wk24 eOD→eOD→core | eOD at week 0; eOD at week 8; core at week 16 | Week 24 | 13 | 217 (143, 593) |
Table B.3. BCR data application vaccination schedules, PBMC sampling timepoints, number of participants, and median (IQR) number of sequences per participant.
Conditions for pointwise and uniform convergence of the estimated barycenter quantile function
Throughout this appendix, we maintain the sampling assumptions described in § 3. For notational simplicity, we consider a single group and let denote independent and identically distributed realizations of the distribution-valued random object . For each individual , we assume that the observed sequence-derived features are i.i.d. draws from , conditional on . Let denote the observed empirical distribution for individual and denote the pre-smoothed empirical distribution. Suppose that our target is the Wasserstein barycenter , as its quantile function . In the following, we establish conditions for pointwise asymptotic normality and weak convergence to a Gaussian process for the quantile functions of the empirical barycenter , the pre-smoothed empirical barycenter , and the marginal-constructed barycenter [30].
Empirical and pre-smoothed empirical barycenters
We first establish high-level conditions for pointwise asymptotic normality and weak convergence to a Gaussian process of the empirical and pre-smoothed empirical Wasserstein barycenters. The two estimators can be handled using the same argument, because both are obtained by first estimating each individual-level quantile function and then averaging these estimated quantile functions across individuals.
Let
where the last equality follows from the one-dimensional representation of the Wasserstein barycenter. For , define
where corresponds to the empirical distribution , and corresponds to the pre-smoothed empirical distribution . Define the average first-stage quantile estimation error
The role of the following conditions is to require that the first-stage error from estimating the individual-level quantile functions is asymptotically negligible relative to the variation from averaging the latent quantile functions . These conditions may hold for either the empirical or pre-smoothed estimator when the within-individual sample sizes grow sufficiently rapidly as the number of subjects increases, and any smoothing bias vanishes sufficiently quickly. In practice, this means that, for a given dataset, the within-individual sample sizes must be sufficiently large relative to the number of subjects.
Proposition 1 (Pointwise asymptotic normality of empirical and pre-smoothed empirical barycenters). Fix and let . Suppose that the following conditions hold:
The individual-level quantile value has finite, nonzero variance:
The average first-stage quantile estimation error is negligible at the scale:
Then
Equivalently, both and are pointwise asymptotically normal whenever their corresponding first-stage estimation errors satisfy Condition 2.
Proof. For either or , add and subtract the average of the latent individual-level quantile functions:
Since , the first term satisfies
by the central limit theorem. By Condition 2, the second term is after multiplication by . The result follows by Slutsky’s theorem.
Proposition 2 (Weak convergence of empirical and pre-smoothed empirical barycenters). Let for some , and let . Define the latent empirical process
Suppose that the following conditions hold:
The latent quantile functions are i.i.d. random elements of with finite second moment in sup-norm:
The latent empirical process is stochastically equicontinuous over . That is, for every ,
The average first-stage quantile estimation error is negligible uniformly over :
Then
where is a tight mean-zero Gaussian process with covariance kernel
Proof. For either or ,
Multiplying by gives
For any finite collection , the random vectors
are i.i.d. mean-zero random vectors with finite second moments by Condition 1. Therefore, by the multivariate central limit theorem,
where
For each fixed collection , converges to a mean-zero multivariate Gaussian vector with covariance matrix .
Condition 2 gives stochastic equicontinuity of over . Under the usual asymptotic measurability conditions for empirical processes, finite-dimensional convergence together with stochastic equicontinuity yields
where is a tight mean-zero Gaussian process with covariance kernel [36 Theorem 18.14].
By Condition 3,
Therefore,
in . The result follows by Slutsky’s theorem in [36 Theorem 18.10].
Remark 4 (Interpretation of the first-stage negligibility conditions). The empirical and pre-smoothed empirical barycenters differ only through the first-stage estimate of the latent quantile function . The propositions above therefore separate the asymptotic variation into two parts: the between-individual variation in the latent quantile functions, and the within-individual first-stage estimation error. For the latter to be asymptotically negligible at the scale, the within-individual sample sizes must increase sufficiently rapidly with the number of subjects, with sufficiently small smoothing bias if applicable. Under these conditions, the first-stage estimation error does not contribute to the first-order limiting distribution. In practice, these conditions require sufficiently large within-individual sample sizes relative to the number of subjects and may therefore be unrealistic in sparse sequencing settings. When these conditions are not satisfied, particularly in the tails, the first-stage estimation error may remain non-negligible, potentially introducing bias and preventing root- consistent estimation of the target barycenter quantile function.
Marginal-constructed barycenter
We now state high-level conditions for pointwise asymptotic normality and weak convergence of the marginal-constructed barycenter estimator. The key idea is to estimate the distribution of the latent individual-level quantiles indirectly, through binomial mixture models for latent CDF values.
For each individual, let denote the latent individual-level quantile function.
Fix , where denotes the support of the sequence-derived feature. The latent CDF value at this threshold is , which is the probability that a draw from the th latent distribution is less than or equal to . Although is not observed directly, the observed sample provides the count . Conditional on and ,
Thus, for each fixed threshold , the observed counts follow a binomial mixture model whose mixing distribution is the distribution of across individuals. We denote this mixing distribution by
The connection to barycenter estimation comes from translating statements about latent quantiles into statements about latent CDF values. For a fixed quantile level , let denote the distribution function of the latent -quantiles across individuals. Since the event is equivalent to the event , we have , where . Therefore, the barycenter quantile function satisfies
The marginal-constructed barycenter estimator replaces by an estimator obtained from the binomial mixture model. Define and
In the following, denotes the observed data for individual . The following propositions state high-level conditions under which is asymptotically normal pointwise and converges weakly as a process. The proofs follow from arguments in Peng et al. [30].
Proposition 3 (Pointwise asymptotic normality of the marginal-constructed barycenter). Fix $t\in
. Suppose that the following conditions hold:
The feature support is bounded, with . With probability tending to one, is a cumulative distribution function on .
The estimator admits the integrated asymptotic linear expansion
where for each fixed ,
and
Define the integrated influence function
Assume that
Then
and hence
Proof. See Peng et al. [30].
Proposition 4 (Weak convergence of the marginal-constructed barycenter). Let for some . Suppose that the following conditions hold:
The feature support is bounded, with . With probability tending to one, is a cumulative distribution function on uniformly over .
Uniformly over , the estimator admits the asymptotic linear expansion
where for all and , and
For each , define
The class of functions is -Donsker.
Then
where is a tight mean-zero Gaussian process with covariance kernel
Proof. See Peng et al. [30].
Additional simulation results
Simulation Study 1
In addition to 50 individuals per group, we conducted Simulation Study 1 with 20 and 100 individuals per group. Results are shown below.
20 individuals per group
Null scenario summary results

Figure D.1. Summary of estimation of the difference in quantiles under the null scenario for Simulation Study 1 with 20 individuals per group. Results are shown across four sequencing depth settings: low balanced, low differential, high balanced, and high differential sequencing depth. For each setting, we compare the empirical Wasserstein barycenter, pre-smoothed empirical barycenter, correctly specified MCB estimator, and misspecified spline-based MCB estimator. Performance is summarized by average absolute bias, mean estimated standard error, and pointwise confidence interval coverage for , averaged separately over the central quantiles (0.06–0.94) and tail quantiles (0.01–0.05 and 0.95–0.99). The dotted horizontal line in the coverage panels indicates the nominal 95% coverage level.
Alternative scenario summary results

Figure D.2. Summary of estimation of the difference in quantiles under the alternative scenario for Simulation Study 1 with 20 individuals per group. Results are shown across four sequencing depth settings: low balanced, low differential, high balanced, and high differential sequencing depth. For each setting, we compare the empirical Wasserstein barycenter, pre-smoothed empirical barycenter, correctly specified MCB estimator, and misspecified spline-based MCB estimator. Performance is summarized by average absolute bias, mean estimated standard error, and pointwise confidence interval coverage for , averaged separately over the central quantiles (0.06–0.94) and tail quantiles (0.01–0.05 and 0.95–0.99). The dotted horizontal line in the coverage panels indicates the nominal 95% coverage level.

Figure D.3. Bias of the estimated quantile difference map in Simulation Study 1 with 20 individuals per group. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth scenarios: low balanced, low differential, high balanced, and high differential. Each curve shows the bias of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.
Additional simulation results

Figure D.4. Mean estimated standard error of the estimated quantile difference map in Simulation Study 1 with 20 individuals per group. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth scenarios: low balanced, low differential, high balanced, and high differential. Each curve shows the mean estimated standard error of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.
Quantile difference map : pointwise confidence coverage

Figure D.5. 95% confidence interval coverage of the estimated quantile difference map in Simulation Study 1 with 20 individuals per group. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth scenarios: low balanced, low differential, high balanced, and high differential. Each curve shows the 95% confidence interval coverage of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure D.6. Bias of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1 with 20 individuals per group. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a Normal(0, 1) base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the bias of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure D.7. Mean estimated standard error of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1 with 20 individuals per group. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a Normal(0, 1) base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the mean estimated standard error of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure D.8. 95% confidence interval coverage of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1 with 20 individuals per group. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a Normal(0, 1) base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the 95% confidence interval coverage of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.
100 individuals per group
Null scenario summary results

Figure D.9. Summary of estimation of the difference in quantiles under the null scenario for Simulation Study 1 with 100 individuals per group. Results are shown across four sequencing depth settings: low balanced, low differential, high balanced, and high differential sequencing depth. For each setting, we compare the empirical Wasserstein barycenter, pre-smoothed empirical barycenter, correctly specified MCB estimator, and misspecified spline-based MCB estimator. Performance is summarized by average absolute bias, mean estimated standard error, and pointwise confidence interval coverage for , averaged separately over the central quantiles (0.06–0.94) and tail quantiles (0.01–0.05 and 0.95–0.99). The dotted horizontal line in the coverage panels indicates the nominal 95% coverage level.
Alternative scenario summary results

Figure D.10. Summary of estimation of the difference in quantiles under the alternative scenario for Simulation Study 1 with 100 individuals per group. Results are shown across four sequencing depth settings: low balanced, low differential, high balanced, and high differential sequencing depth. For each setting, we compare the empirical Wasserstein barycenter, pre-smoothed empirical barycenter, correctly specified MCB estimator, and misspecified spline-based MCB estimator. Performance is summarized by average absolute bias, mean estimated standard error, and pointwise confidence interval coverage for , averaged separately over the central quantiles (0.06–0.94) and tail quantiles (0.01–0.05 and 0.95–0.99). The dotted horizontal line in the coverage panels indicates the nominal 95% coverage level.

Figure D.11. Bias of the estimated quantile difference map in Simulation Study 1 with 100 individuals per group. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth scenarios: low balanced, low differential, high balanced, and high differential. Each curve shows the bias of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure D.12. Quantile difference map : pointwise mean estimated standard error. Mean estimated standard error of the estimated quantile difference map in Simulation Study 1 with 100 individuals per group. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth scenarios: low balanced, low differential, high balanced, and high differential. Each curve shows the mean estimated standard error of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure D.13. 95% confidence interval coverage of the estimated quantile difference map in Simulation Study 1 with 100 individuals per group. Results are shown under the null and alternative sequence feature scenarios, across sequencing depth scenarios: low balanced, low differential, high balanced, and high differential. Each curve shows the 95% confidence interval coverage of across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure D.14. Bias of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1 with 100 individuals per group. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a Normal(0, 1) base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the bias of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure D.15. Mean estimated standard error of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1 with 100 individuals per group. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a Normal(0, 1) base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the mean estimated standard error of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.

Figure D.16. 95% confidence interval coverage of the estimated group-specific Wasserstein barycenter quantile functions in Simulation Study 1 with 100 individuals per group. Results are shown for two data-generating settings: individual-level distributions generated from a Dirichlet process with a base measure, and individual-level distributions generated from a Dirichlet process with a bimodal Normal mixture base measure. Results are shown across sequencing depths of 2–7, 2–15, 2–150, and 2–300. Each curve shows the 95% confidence interval coverage of the estimated barycenter quantile function across quantile levels . Estimators include the empirical Wasserstein barycenter, the pre-smoothed empirical Wasserstein barycenter, the correctly specified MCB estimator, and the misspecified spline-based MCB estimator.
Simulation Study 2
In the main text, Simulation Study 2 was presented under the high balanced sequencing depth scenario. Here, we provide the corresponding results under the remaining sequencing depth scenarios: low balanced, low differential, and high differential. Results are shown below.
Low balanced

Figure D.17. Rejection probabilities across the three null scenarios and nine alternative scenarios for each estimator and test statistic, under low balanced sequencing depth. The four barycenter estimators considered are the empirical barycenter (“Empirical”), the pre-smoothed empirical barycenter (“Pre-smoothed empirical”), the correctly specified MCB estimator (“MCB (correct)”), and the misspecified spline-based MCB estimator (“MCB (incorrect)”). The mean test is based on averaging the sequence features within each individual and applying Welch’s two-sample t-test to the resulting individual-level averages. The second row presents enlarged views of the three null scenarios, with the y-axis restricted to 0–0.10. The dashed horizontal line indicates the nominal significance level of 0.05.
Low differential

Figure D.18. Rejection probabilities across the three null scenarios and nine alternative scenarios for each estimator and test statistic, under low differential sequencing depth. The four barycenter estimators considered are the empirical barycenter (“Empirical”), the pre-smoothed empirical barycenter (“Pre-smoothed empirical”), the correctly specified MCB estimator (“MCB (correct)”), and the misspecified spline-based MCB estimator (“MCB (incorrect)”). The mean test is based on averaging the sequence features within each individual and applying Welch’s two-sample t-test to the resulting individual-level averages. The second row presents enlarged views of the three null scenarios, with the y-axis restricted to 0–0.10. Black triangles in the zoomed-in null panels indicate rejection probabilities exceeding 0.10. The dashed horizontal line indicates the nominal significance level of 0.05.
High differential

Figure D.19. Rejection probabilities across the three null scenarios and nine alternative scenarios for each estimator and test statistic, under high differential sequencing depth. The four barycenter estimators considered are the empirical barycenter (“Empirical”), the pre-smoothed empirical barycenter (“Pre-smoothed empirical”), the correctly specified MCB estimator (“MCB (correct)”), and the misspecified spline-based MCB estimator (“MCB (incorrect)”). The mean test is based on averaging the sequence features within each individual and applying Welch’s two-sample t-test to the resulting individual-level averages. The second row presents enlarged views of the three null scenarios, with the y-axis restricted to 0–0.10. The dashed horizontal line indicates the nominal significance level of 0.05.
References
- [1]Agueh, M., & Carlier, G. (2011). Barycenters in the Wasserstein Space. SIAM Journal on Mathematical Analysis, 43(2).DOI
- [3]Bigot, J., Gouet, R., Klein, T., & López, A. (2018). Upper and lower risk bounds for estimating the Wasserstein barycenter of random measures on the real line. Electronic Journal of Statistics, 12(2).DOI
- [4]Bigot, J., & Klein, T. (2018). Characterization of barycenters in the Wasserstein space by averaging optimal transport maps. ESAIM: Probability and Statistics, 22.arxiv.org/abs/1212.2562
- [5]Bobkov, S., & Ledoux, M. (2019). One-dimensional empirical measures, order statistics, and Kantorovich transport distances. Memoirs of the American Mathematical Society, 261(1259).DOI
- [6]Boyd, S. D., & Crowe, J. E. (2016). Deep sequencing and human antibody repertoire analysis. Current Opinion in Immunology, 40.DOI
- [7]Chen, Y., Lin, Z., & Müller, H.-G. (2023). Wasserstein Regression. Journal of the American Statistical Association, 118(542).
- [8]Chernozhukov, V., Chetverikov, D., & Kato, K. (2013). Gaussian Approximations and Multiplier Bootstrap for Maxima of Sums of High-Dimensional Random Vectors. The Annals of Statistics, 41(6).
- [9]Corey, L., Gilbert, P. B., Juraska, M., Montefiori, D. C., Morris, L., Karuna, S. T., Edupuganti, S., Mgodi, N. M., deCamp, A. C., Rudnicki, E., Huang, Y., Gonzales, P., Cabello, R., Orrell, C., Lama, J. R., Laher, F., Lazarus, E. M., Sanchez, J., Frank, I., . . . Cohen, M. S. (2021). Two Randomized Trials of Neutralizing Antibodies to Prevent HIV-1 Acquisition. New England Journal of Medicine, 384(11).DOI
- [10]Curlin, M. E., Zioni, R., Hawes, S. E., Liu, Y., Deng, W., Gottlieb, G. S., Zhu, T., & Mullins, J. I. (2010). HIV-1 Envelope Subregion Length Variation during Disease Progression. PLOS Pathogens, 6(12).DOI
- [11]Dinis, J. M., Florek, K. R., Fatola, O. O., Moncla, L. H., Mutschler, J. P., Charlier, O. K., Meece, J. K., Belongia, E. A., & Friedrich, T. C. (2016). Deep Sequencing Reveals Potential Anti- genic Variants at Low Frequencies in Influenza A Virus-Infected Humans. Journal of Virology, 90(7).
- [12]Doksum, K. (1974). Empirical Probability Plots and Statistical Inference for Nonlinear Models in the Two-Sample Case. The Annals of Statistics, 2(2).DOI
- [14]Dubey, P., & Miiller, H.-G. (2019). Fréchet analysis of variance for random objects. Biometrika, 106(4).arxiv.org/abs/1710.02761
- [15]Efron, B. (2016). Empirical Bayes deconvolution estimates. Biometrika, 103(1).DOI
- [16]Firpo, S. (2007). Efficient Semiparametric Estimation of Quantile Treatment Effects. Econometrica, 75(1).
- [17]Gilbert, P., Self, S., Rao, M., Naficy, A., & Clemens, J. (2001). Sieve analysis: Methods for assessing from vaccine trial data how vaccine efficacy varies with genotypic and phenotypic pathogen variation. Journal of Clinical Epidemiology, 54(1).pubmed.ncbi.nlm.nih.gov/11165470
- [18]Gilbert, P. B., Bosch, R. J., & Hudgens, M. G. (2003). Sensitivity analysis for the assessment of causal vaccine effects on viral load in HIV vaccine trials. Biometrics, 59(3).pubmed.ncbi.nlm.nih.gov/14601754
- [19]Horváth, L., & Kokoszka, P. (2012). Inference for Functional Data with Applications (Vol. 200). Springer.DOI
- [20]Jeong, S., Yoon, H., Morris, J. S., & Yang, H. (2026). Wasserstein tests for equality of several groups for distributional data. Computational Statistics & Data Analysis, 222.DOI
- [21]Joseph, E., Galeano San Miguel, P., & Lillo Rodríguez, R. E. (2015). Two-sample Hotelling’s T² statistics based on the functional Mahalanobis semi-distance [Number: ws1503]. DES - Working Papers. Statistics and Econometrics. WS.
- [22]Juraska, M., Bai, H., deCamp, A. C., Magaret, C. A., Li, L., Gillespie, K., Carpp, L. N., Giorgi, E. E., Ludwig, J., Molitor, C., Hudson, A., Williamson, B. D., Espy, N., Simpkins, B., Rudnicki, E., Shao, D., Rossenkhan, R., Edlefsen, P. T., Westfall, D. H., … Mullins, J. I. (2024). Prevention efficacy of the broadly neutralizing antibody VRC01 depends on HIV-1 envelope sequence features. Proceedings of the National Academy of Sciences, 121(4).DOI
- [23]Katta, S., Parikh, H., Rudin, C., & Volfovsky, A. (2024). Interpretable Causal Inference for Analyzing Wearable, Sensor, and Distributional Data. Proceedings of The 27th International Conference on Artificial Intelligence and Statistics.arxiv.org/abs/2312.10569
- [24]Koenker, R., & Bassett, G. (1978). Regression Quantiles. Econometrica, 46(1).DOI
- [25]Kosorok, M. R. (2008). Introduction to Empirical Processes and Semiparametric Inference. Springer.DOI
- [27]Lin, Z., Kong, D., & Wang, L. (2023). Causal inference on distribution functions. Journal of the Royal Statistical Society Series B: Statistical Methodology, 85(2).arxiv.org/abs/2101.01599
- [28]Nelson, C. W., & Hughes, A. L. (2015). Within-Host Nucleotide Diversity of Virus Populations: Insights from Next-Generation Sequencing. Infection, genetics and evolution : journal of molecular epidemiology and evolutionary genetics in infectious diseases, 30.DOI
- [29]Nouri, N., & Kleinstein, S. H. (2020). Somatic hypermutation analysis for improved identification of B cell clonal families from next-generation sequencing data. PLOS Computational Biology, 16(6).DOI
- [30]Peng, J., Stijven, F., Wang, L., & Gilbert, P. B. (2026, June). Estimating the Wasserstein barycenter of one-dimensional distributions under sparse sampling.arxiv.org/abs/2606.10096
- [31]Petersen, A., Liu, X., & Divani, A. A. (2021). Wasserstein F-tests and confidence bands for the Fréchet regression of density response curves. The Annals of Statistics, 49(1).arxiv.org/abs/1910.13418
- [32]Silverman, B. W. (1986). Density estimation for statistics and data analysis. Monographs on Statistics and Applied Probability.
- [33]Sim, S., Aw, P. P. K., Wilm, A., Teoh, G., Hue, K. D. T., Nguyen, N. M., Nagarajan, N., Simmons, C. P., & Hibberd, M. L. (2015). Tracking Dengue Virus Intra-host Genetic Diversity during Human-to-Mosquito Transmission. PLOS Neglected Tropical Diseases, 9(9).DOI
- [34]Sims, D., Sudbery, I., Ilott, N. E., Heger, A., & Ponting, C. P. (2014). Sequencing depth and coverage: Key considerations in genomic analyses. Nature Reviews Genetics, 15(2).DOI
- [35]Tully, D. C., Ogilvie, C. B., Batorsky, R. E., Bean, D. J., Power, K. A., Ghebre michael, M., Bedard, H. E., Gladden, A. D., Seese, A. M., Amero, M. A., Lane, K., McGrath, G., Bazner, S. B., Tinsley, J., Lennon, N. J., Henn, M. R., Brumme, Z. L., Norris, P. J., Rosenberg, E. S., . . . Allen, T. M. (2016). Differences in the Selection Bottleneck between Modes of Sexual Transmission Influence the Genetic Composition of the HIV-1 Founder Virus. PLoS pathogens, 12(5).DOI
- [36]Van der Vaart, A. W. (2000). Asymptotic statistics (Vol. 3). Cambridge University Press.
- [37]Westfall, D. H., Deng, W., Pankow, A., Murrell, H., Chen, L., Zhao, H., Williamson, C., Rolland, M., Murrell, B., & Mullins, J. I. (2024). Optimized SMRT-UMI protocol produces highly accurate sequence datasets from diverse populations—Application to HIV-1 quasispecies. Virus Evolution, 10(1).
- [38]Willis, J. R., Prabhakaran, M., Muthui, M., Naidoo, A., Sincomb, T., Wu, W., Cottrell, C. A., Landais, E., deCamp, A. C., Keshavarzi, N. R., Kalyuzhniy, O., Lee, J. H., Murungi, L. M., Ogonda, W. A., Yates, N. L., Corcoran, M. M., Phulera, S., Musando, J., Tsai, A., . . . Schief, W. R. (2025). Vaccination with mRNA-encoded nanoparticles drives early maturation of HIV bnAb precursors in humans. Science, 389(6759).
- [39]Zhang, M., & Guo, F. R. (2022). BSDE: Barycenter single-cell differential expression for case–control studies. Bioinformatics, 38(10).DOI
- [40]Zhou, S., Hill, C. S., Spielvogel, E., Clark, M. U., Hudgens, M. G., & Swanstrom, R. (2022). Unique Molecular Identifiers and Multiplexing Amplicons Maximize the Utility of Deep Sequencing To Critically Assess Population Diversity in RNA Viruses. ACS infectious diseases, 8(12).DOI
- [41]Zhou, Y., & Müller, H.-G. (2024). Wasserstein regression with empirical measures and density estimation for sparse data. Biometrics, 80(4).DOI
AI tools statement
No AI-use declaration is available for this version in Valency.
The available record does not establish whether AI systems or models contributed to this work.
