Abstract
Recent advances in imaging technologies now allow for real-time tracking of fast-moving immune cells as they search for targets such as pathogens and tumor cells through complex three-dimensional tissues. Cytotoxic T cells are specialized immune cells that continually scan tissues for such targets to engage and kill, and have emerged as the principle mediators of breakthrough immunotherapies against cancers. Modeling the way these T cells move is of great value in furthering our understanding of their collective search efficiency. T-cell motility is characterized by heterogeneity at two levels: (a) Individual cells display different distributions of translational speeds and turning angles, and (b) each cell can during a given track, its motility, switch between local search and directional motion. Despite a likely considerable influence on a motile population’s search performance, statistical models that accurately capture both such heterogeneities in a distinguishing manner are lacking. Here, we model three-dimensional T-cell trajectories through a spherical representation of their incremental steps and compare model outputs to real-world motility data from primary T cells navigating physiological environments. T cells in a population are clustered based on their directional persistence and characteristic “step lengths” therein capturing between-cell heterogeneity. The motility dynamics of cells within each cluster are individually modeled through hidden Markov model to capture within-cell transitions between local and more extensive search patterns. We explore the importance of explicitly capturing altered motility patterns when cells lie in close proximity to one another, through a non-homogenous hidden Markov model.
Keywords
Introduction
Our immune systems are vital to our physiological wellbeing, protecting us from pathogens and eradicating cancerous cells, for example.1–4 The immune response emerges as a system-level phenomenon mediated by local interactions among numerous cell types. Many immune cells are highly motile, traversing barriers and tissues of varying biochemical and mechanical compositions, “scanning” other cells and their environment, and monitoring for patterns and signals that indicate any damages, infection, or cancer, for example. 5 The delivery of immune cell function is dependent on proximity to other cells, and motility is therefore a critical process in effecting an immune response. Advances in imaging technology have enabled the live three-dimensional (3D) tracking of fast-moving cells, such as T cells, as they traverse their environment and interact with one another; see the work of Galeano et al. 6 This has spurred the detailed study of both individual and collective immune cell motility and the system-level impacts of local-level processes. Through in silico reproduction, we can model cellular motility, and consider how manipulations will impact the wider immune response. The field is still in its infancy, with the ongoing discourse on how best modeling practice and which metrics fully capture and specify a process as complex as population-wide 3D motility. The emerging picture is one where cells within a population are heterogeneous in their motility characteristics, and that motility at a population level differs between tissues and pathological contexts.
A number of competing models for T-cell motility have been developed. Miller et al. 1 and Textor et al. 7 consider random walk models for lymphocytes observed in living tissue. In the latter work it was concluded using Hotelling’s test that the displacement of T cells over time is consistent with random motions. These models can be framed more generally within populations of T cells moving according to advection/diffusion equations, which can be altered to model T-cell motions with heterogeneous tracks, such as T cells slowing down and rapidly changing direction for several time steps; see, for example, the literary works of Textor et al., 7 Schienbein and Gruler, 8 Niculescu et al., 9 Manolopoulou et al., 10 Beauchemin et al., 11 and Beauchemin et al. 12
Competing motility models are often evaluated by comparing various summary statistics describing T-cell trajectories, termed motility metrics, due to the complexity of 3D spatio-temporal trajectories. These include, among many others, asphericity, straightness, outreach ratio, displacement ratio, Hurst index, mean squared displacement, and root mean squared displacement, see the literary works of Banigan et al., 13 Mokhtari et al., 14 each of which we discuss below. For instance, Banigan et al. 13 obtained the root mean squared displacement and normalized correlation between the displacement from in-vitro lymphocyte data and compared them with those obtained from their proposed model. Their model, a mixture model, also suggests heterogeneities between T-cell displacement.
Although the above-referenced models are sometimes able to reproduce trajectories with similar motility metrics as the observed trajectories, there are often sizable differences. One potential explanation for this is that T cells are naturally heterogenous, i.e. there appear to be different types of movement between T-cell trajectories. Some T cells have predominantly persistent motion and move rapidly through a given area of space while others have less persistent motion, and tend to linger locally in a given area of space for long periods of time. They also exhibit lower or higher speeds, i.e. short or long step lengths, over a fixed time; see the work of Mokhtari et al. 14 This raises the potential of using clustering as a step to first categorize the data to homogenous groups and accordingly fit a cluster-specific statistical model that explains the underlying motility within each group.
There exists an established body of work on clustering general trajectories. Ester et al. 15 clustered two-dimensional (2D) or 3D trajectories using the density defined on the neighborhood around each index of a trajectory. Kalnis et al. 16 considered moving trajectories; the proposed methodology was based on clustering points at a fixed time. Lee et al. 17 considered the parallel, perpendicular, and angular distances between subtrajectories for the purpose of clustering. Jebara et al. 18 clustered trajectories by fitting homogenous hidden Markov models (HHMMs) to each trajectory and then measuring the distance between the fitted models. Zhang et al. 19 introduced a new clustering scheme of spatio-temporal trajectories based on kernel density estimation. Others, see the literary works of Ester et al., 20 Wang et al., 21 Wu et al., 22 and Pan et al., 23 discussed clustering of trajectories in alternative settings.
In the context of lymphocyte motility, Mokhtari et al. 14 clustered T cells’ trajectories using a hierarchical clustering method. A combination of staggered measures, i.e. volume asphericity, volume prolateness, confinement ratio, displacement ratio, and outreach ratio, were used to cluster trajectories into three subpopulations: Fairly straight tracks, strongly confined tracks, and purely random tracks. Notably, step lengths were not considered in the analysis as a tool for clustering. An alternative approach for clustering of 3D spatio-temporal trajectories is to distinguish Brownian type motion from Levy type motion; see the work of Plank et al., 24 as well as a persistent versus non-persistent motion which we present in this paper.
Individual T cells also appear to exhibit a mixture of movements within a given area of space. Stop and go models, proposed in Dustin et al., 25 Beauchemin et al., 12 Textor et al., 11 are partial differential equation models which attempt to explain this heterogeneity of movements, while Méhes and Vicsek 26 used Bayesian analysis of autoregressive processes of the first order to study the change of parameters observed in a given area of space, similar to Metzner et al. 27 where they have the parameters updated at each step for the vectorial displacements in 2D. Banigan et al. 13 considered a mixture model of the aggregated increments under the assumption of spatial isotropy, where their model is a mixture of populations for the trimmed data. Read et al. 28 considered random effect models for individual T-cell trajectories. Their results indicate a correlated heterogeneous random walk where the turn speed and translational speed are negatively related while the model provides the best fit in terms of Kolmogorov–Smirnov statistic. Bartolucci and Farcomeni 29 considered computer simulations of a random walk process to model the movement in 2D.
An approach to modeling heterogeneity within T-cell trajectories might be to use hidden Markov models (HMMs). Raffa and Dubin 30 proposed to model unobserved longitudinal smoking behavior in a smoking cessation clinical trial using HMM’s. HMM’s have been used in the past to model the latent switching behavior observed in animal movements; see the literary works of Patterson et al., 31 Langrock 32 and Patterson et al. 33 Importantly, these models to date are formulated for 2D motion. To the best of our knowledge, HMM’s have not yet been considered for populations of agents searching in 3D.
This problem shares some similarities to that of modeling the trajectories of marine animals moving in three dimensions, which has been conducted in several cases using HMM’s. Pedersen et al. 34 applied a direct Fokker–Planck-based methodology using HMMs to data of fish positions in 2D. Thygesen et al. 35 tried to accommodate the measurement error issue for the 2D movement also for fish motility. Vermard et al. 36 in a research project considered a Bayesian Hierarchical Model using hidden Markov process in 2D for the three behavioral states of boat activity, specifically stopping, steaming, and fishing; see also Mitani et al., 37 Liu et al., 38 Laplanche et al., 39 Orellana et al., 40 Sims et al., 41 and Humphries et al. 42
The idea of HHMM and non-homogenous hidden Markov models (NHMM’s) statistically have been also studied for forecasting univariate time series, among many, see the literary works of Spezia, 43 Koki et al., 44 Meligkotsidou and Dellaportas, 45 Holsclaw et al., 46 and Maruotti and Rocci. 47 Spezia 43 analyzed the natural logarithm of the daily maximum hourly mean concentrations of ozone in Venice. Koki et al. 44 considered analyzing the natural logarithm of the realized volatility series; see the literary works of Meligkotsidou and Dellaportas, 45 Holsclaw et al., 46 and Maruotti and Rocci 47 for other examples. These works statistically address the difficulty raised by the connection between HHMM or NHMM and generalized linear, or linear, regression models.
In this paper, we model T-cell trajectories using HMM’s after a preliminary clustering step, which accounts for the observable features of these trajectories. In particular, we consider one-state, two-state, and three-state homogeneous HMM’s. Biologically, these states pertain to persistent and non-persistent (or “go” and “stop”) states, with a middle persistent behavior in the three-state case.
Another factor of interest in lymphocyte motility is the effect that neigboring proximal T cells have on one another’s motility since there is evidence that T cells interact with each other. Other work has focused on the effect of chemokines on T-cell motility and conceptualizing cell trajectories as features of environmental obstacles, see the work of Beltman et al. 48 The possibility of calibrating the configuration of an environment by proxy of the resultant cellular motility is intriguing, see the work of Read et al. 28 In the literature, Miller et al. 1 considered T cells interacting with one another in terms of abrupt changes in shape, velocity, and direction. Méhes and Vicsek 26 also explained the influence of other T cells on the behavior of a specific T cell by defining collective T-cell motion. To the best of our knowledge, our proposed model is unique in explicitly capturing/allowing for this phenomenon.
Here, to measure the effect of T cells in close proximity to each other, we consider NHMM’s, in which the transition matrices depend on the information about the existence of at least one T cell in the neighborhood of a given (index) T cell.
The paper is organized as follows. We first discuss the experiments that produced the T-cell motility data we analyze in the ‘Observing real T-cell motility through live 3D imaging section. In the ‘Methods section, we present an innovative methodology for clustering spatio-temporal 3D T-cell trajectories. We introduce new measures of trajectories, relative persistence (RP) and compactness measure (CM), to differentiate trajectories based on their persistency and underlying distributions of their increments. We then explain the implementation of the HHMM and NHMM for the angular change and step length. The proposed methodology is implemented in the ‘Data analysis section to analyze T-cell trajectories from the experiment described in the ‘Observing real T-cell motility through live 3D imaging section. In the ‘Simulation studies section, we further investigate and evaluate the proposed models with a comprehensive simulation study. Conclusion and future research directions are presented in the ‘Discussion section.
Observing real T-cell motility through live 3D imaging
In this paper, we focus on the following experiment. Primary cytotoxic (CD8

Real T-cell trajectories in the observation space.
This methodology allows for the tracking of individual cell trajectories. Trajectories of less than 10 minutes duration were omitted. T cells are free to enter and leave the imaging volume in any direction. This experiment was repeated independently five times, collecting a total of 47,235 3D cell positions distributed across 764 trajectories. Given that the experiments are assumed to be homogenous, we artificially divided the data into a training dataset, experiments 1, 3, and 5, and an out-of-sample dataset, experiments 2 and 4, such that there were nearly equal numbers of T cells in each dataset. We have a random selection for the out-of-sample data and training data while the other choice might be finding all possible selections for the training data, say
Cells are not tracked outside of the observation space; a cell’s re-entry will register as a new track. We investigated the potential experimental bias of such re-entries via simulation studies below and, in short, we determine that this issue does not influence our conclusions.
The data is available per request and also through the supplementary materials.
Methods
Suppose
The increment
Clustering spatio-temporal 3D trajectories to capture between cell heterogeneity
T-cell trajectories differ in terms of step length and also the persistency of their movement. In order to take into account these differences and improve our understanding of T cells’ movements, we propose clustering T cells based on measures of RP and track compactness. The methodology we propose for clustering 3D spatio-temporal trajectories is independent of their direction or distance from other moving T cells nearby. We propose below a new physically interpretable measure of persistency in order to categorize trajectories with mostly persistent behavior. We define RP of the
In addition to the persistence, we also consider clustering trajectories based on the tail properties of their increment displacement distributions. Considerable attention has been devoted to differentiating between T cells undergoing Brownian motion and/or Lévy flight; see the literary works of Banigan et al.
13
and Mokhtari et al.
14
Under 3D Brownian motion
We design a classifier based on prediction intervals (PI’s) to compare the underlying distribution of observed increments in
Based on the data, the sample means and variances are calculated, i.e.
Spatio-temporal 3D trajectories are clustered considering
Our general rule of the proposed clustering scheme for trajectories. HP, NP, LI, and SI refer to highly persistent, non-persistent, long increments, and short increments, respectively.
HP: highly persistent; NP: non-persistent; RP: relative persistence; LI: long increment; SI: short increment
Modeling angular change, step lengths, and radial angle
Given the initial clustering performed as described above, the goal is now to model the spherical coordinates, step length, angular change, and also the radial angle, of trajectories belonging to each cluster. If
We model the behavior of trajectories in each cluster by NHMM’s and HHMM’s. In the first step, we define statistical models on spherical coordinates to find the corresponding likelihood function. To this end,
The beta distribution is used due to its flexibility for modeling observations taking values in the

Radial angle,
Let
For the T-cell trajectories, the interest is to see the effect of other T cells on an index T cell in close proximity. To this end, we consider two separate scenarios. In the HHMM, we assume that the T cells’ behavior are independent of each other where only a single transition matrix is considered so that
Due to the complicated form of the likelihood in (7), we apply a Bayesian approach using Hamiltonian Monte Carlo, Neal et al., 53 to estimate the model parameters. Following Berger et al., 54 Torkashvand et al., 55 and Schad et al., 56 we select informative prior distributions. It is worth mentioning that initially, we performed the analysis implementing non-informative prior distributions, but the parameter estimates did not converge.
Informative uniform prior distributions are selected on
We now consider modeling the step lengths corresponding to each trajectory. Firstly, we apply a log transformation to the step length and consider models for
The logarithm of step length,
For purpose of Bayesian modeling using
Data analysis
Initially, we apply the proposed methodology to the training dataset. The
Clustering 3D spatio-temporal T-cell trajectories
Generally speaking, human brain tends to choose more than required number of clusters; see the literary works of Kim etal.,
59
and Tseng and Wong.
60
In real applications, it is required to consider the biologist advice on the possible number of groups. Our interest, for now, is to study the Lévy type of movement versus the Brownian motion while persistence versus non-persistence is of importance. Following (3) and (4), RP and CM are obtained for each trajectory. The

Relative persistence (RP) obtained from the training dataset.
Consistent with our discussion in the ‘Clustering spatio-temporal 3D trajectories to capture between cell heterogeneity section, clusters are defined as being highly persistent/long increment (HP/LI), highly persistent/short increment (HP/SI), non-persistent/long increment (NP/LI), and non-persistent/short increment (NP/SI) using RP and CM; for mathematical convenience, clusters are numbered
There are 93, 84, 137, and 38 trajectories in each cluster, respectively. Figure 4 shows a T-cell trajectory with HP/LI behavior. Figures corresponding to trajectories from clusters of HP/SI, NP/LI, and NP/SI are presented in the supplemental information. Let

(a) A T-cell trajectory from cluster HP/LI, highly persistent and long; (b), (c), and (d) are histograms of
Modeling the 3D spatio-temporal T-cell trajectories
Having observed the distribution of radial angles exhibited across the entire training dataset to be approximately uniform, we modeled these angles using a uniform distribution in (7). We inferred that, having clustered trajectories based on RP and CM, these stratified groups of trajectories each still exhibit this uniformity; see Figure 2 and the supplemental information.
Modeling the angular change
As such, we explicitly model cluster-specific values for
Among the possible settings for the number of states of the HMM models and clusters, Table 2 gives different models applied to the training data when we consider (a) two clusters, HP and NP; (b) four clusters, HP/LI, HP/SI, NP/LI, and NP/SI; and (c) without clustering. In addition, we consider a different number of states for the HMM’s, i.e. two states: persistent and non-persistent; three states: persistent, moderately persistent, and non-persistent; and one state: no within cell switching behavior.
Different models fitted to trajectories considering two clusters (HP and NP), four clusters (HP/LI, HP/SI, NP/LI, and NP/SI), and without applying the clustering scheme.
HP: highly persistent; NP: non-persistent; LI: long increment; SI: short increment; HMM: hidden Markov model; NHMM: non-homogenous hidden Markov model; HHMM: homogenous hidden Markov model
Informative uniform prior distributions are defined on
Dirichlet prior distributions are considered with the data-driven parameters for the initial probabilities and also rows of the transition matrices. These parameters were taken to be the percentage of data with the same feature, for example.54–56 For
Each model was estimated using the
The influence of the existence of a T cell in the neighborhood is measured by considering two different transition matrices for each of the four clusters on the type of movement, i.e. persistent and non-persistent; see Tables in the supplemental information. The observed changes in transition matrices show the same pattern for the long increment clusters. In HP/LI and NP/LI, the existence of T cells in a neighborhood increases the probability of staying in non-persistent type of movement while for HP/SI, the result is reversed. It is worth mentioning that the unusual value of
For the purpose of model selection and comparison, the Watanabe-Akaike information criterion (WAIC); see the work of Gelman et al.,
62
of the fitted models of
WAIC of different models fitted to
Bold value indicates the smallest WAIC.WAIC: Watanabe-Akaike information criterion; NHMM: non-homogenous hidden Markov models; HHMM: homogenous hidden Markov models.
Modeling the logarithm of step length
Next, we model
The proposed models were also evaluated by comparison to the angles and step lengths obtained from out-of-sample data. Two experiments with

Left: The fitted two-state non-homogenous hidden Markov models (NHMM) (black line), for

Left: The fitted two-state non-homogenous hidden Markov models (NHMM) (black line), for
Figure 6 shows the fitted two-state NHMM on the values of
The fitted one-state models for
In this paper, we have a random selection for the out-of-sample data and training data. The other choice might be finding all possible selections for the training data, say
Simulation studies
The simulation studies that we present in this section were implemented to evaluate the predictive properties of the proposed models. We aimed to compare the 3D motility metrics obtained from the out-of-sample and the training T-cell trajectories with the metrics obtained from simulated T-cell trajectories obtained from HHMM and NHMM for purpose of model comparison. It is worth mentioning that we have been able to build the 3D trajectories except for the first increment due to not having the corresponding angles; however, we work with the origin as the initial locational observation for each T cell to solve the issue.
To this end,
We simulated T-cell trajectories so that their time of entry into, and duration within the observation space match the trajectories in the training data. The covariate information about the proximity of other T cells was taken from the experimental data. Initially, the cluster membership of the simulated trajectories are randomly allocated based on the observed percentage of T cells in each cluster of the training data. Then, trajectories are simulated using estimates of model parameters in the corresponding cluster in the case of two and four clusters.
Similarly, trajectories are generated using models fitted to the training data without clustering. An initial step is generated from the origin, after which the next

(a) Simulated trajectories obtained from the two-state NHMM four cluster model and (b) real T-cell trajectories from the training data.
As we discussed in the ‘Observing real T-cell motility through live 3D imaging section, T cells cannot be tracked when they leave the observation space. We are interested to see if we remove the limitation of dimension how our analysis is affected. To this end, T-cell trajectories are simulated repeatedly until they remain within the observation region for the same number of steps as the corresponding trajectory in the training sample. Figures 8(a and b) show the scaled angular change and logarithm of step length, respectively, obtained from the out-of-sample data fitted by the distributions of simulated values from two-state HHMM when simulated T cells are recorded only if they stay inside the observation space (yellow line), and without this restriction (red line). Our observation shows there is almost no difference between the distributions of step lengths and angular changes in these two settings, indicating that the effect of the finite viewing volume does not noticeably affect the step length and angular changes observed in our simulation studies. Figure 8b also suggests that the proposed model under-predict the value of

Histograms of (a)
Recalling that T-cell trajectories are often summarized using motility metrics, we computed root mean squared displacement (RMSD) over time, outreach ratio, displacement ratio, Hurst index, asphericity, and straightness of simulated trajectories under different models and also the out-of-sample and the training data using

Observed values of straightness with the standard error in out-of-sample data;
with standard error bars, training data; -.-.-, two-state NHMM, 2 clusters;
, two-state NHMM, 4 clusters with observed radial angle;
, two-state NHMM, non-clustered data;
. The motility metrics are simulated by fitting the lognormal distribution to the step length.

Observed values of Hurst index with the standard error in out-of-sample data;
with standard error bars, training data; -.-.-, two-state non-homogenous hidden Markov models (NHMM), 2 clusters;
, two-state NHMM, 4 clusters with observed radial angle;
, two-state NHMM, non-clustered data;
. The motility metrics are simulated by fitting the lognormal distribution to the step length.

Observed values of RMSD in out-of-sample data;
, training data; -.-.-, two-state NHMM, 2 clusters;
, two-state NHMM, 4 clusters with observed radial angle;
, two-state NHMM, non-clustered data;
. The motility metrics are simulated by fitting the lognormal distribution to the step length. NHMM: non-homogenous hidden Markov model; RMSD: root mean squared displacement.
Based on these metrics, the proposed clustering scheme improves the overall performance of the two-state HHMM and NHMM. Moreover, the two-state NHMM slightly improves over the two-state HHMM in predicting the motility metrics, which validates the importance of the information provided by heterogenous transition matrices. Hence, T cells in close proximity to one another influence their motility.
We find little difference between the accuracy of the predicted metrics when the observed radial angle is used to generate T-cell trajectories in the simulation studies. This justifies the choice of uniform distribution for the radial angle; see, for example, Figures 9 to 11 and Figures 26 to 34 in the supplemental information. In order to keep the diagrams clean and informative, we only show the error bars of training data, the behavior of out-of-sample data is similar in terms of variation; see Figures 35 to 40 in the supplemental information.
The clusters that we consider in our analysis are not clusters proposed by the
Discussion
We propose a novel methodology that explicitly accounts for heterogeneous motility characteristics of real T cells moving in physiologically realistic 3D compartments. We believe that these heterogeneities could, at a population level, profoundly impact T-cell search performance. Our method is based on an initial clustering of T-cell trajectories that aims to separate persistent cells exhibiting Lévy flight type behavior from cells with less persistent, more Brownian, type motion. In an ongoing project, we plan to compare the performance of this scheme with the model based clustering scheme available in the literature. After this clustering step, HMMs are applied to a spherical representation of the trajectories, where the model estimation is conducted with a Bayesian modeling approach. We found in both in-sample evaluations using information criteria and out-of-sample comparisons utilizing motility metrics that generally the best performing models among those considered were NHMMs that (a) account for potential contact between neighboring cells, (b) use two states, which can be thought of as persistent and non-persistent type of movements, and (3) use four preliminary clusters to better account for between-cell heterogeneity in trajectories. In summary, these results suggest that the T cells studied indeed exhibit heterogeneity of motion in two ways: Both between cells, i.e. that there are inherent differences in motion across cells, which clustering captures, as well as within cell tracks, i.e. that cells seem to exhibit a latent switching behavior, which is captured by HMMs. However, the motility metrics suggest that the trajectories may be more inhomogeneous than the model allows. The multivariate normal distribution might be a solution to this issue which we are working on as the continuation of this project. Our understanding of T-cell trajectories is that they display different types of movement under observation, specifically in terms of persistent versus non-persistent, as well as in their step lengths. It seems in terms of stratifying according to short versus long increments, we obtain small though meaningful differences.
Both these aspects of heterogeneity are important to overall population motility dynamics. This is clear from the analysis because the models that performed the best in terms of predicting out-of-sample motility metrics, and in in-sample model evaluations (information criteria) were those using multiple states and clusters.
Our models are able to capture the first few steps of T-cell motion quite well, and, as is apparent from analyzing Figures 9 to 11, this accuracy persists first several minutes for measures like straightness, asphericity, Hurst index, displacement ratio, and outreach ratio. However, accuracy degrades after several minutes of observation of the cells as measured by motility metrics. The accuracy of RMSD is not as good as the other motility metrics, still improved over other models, though this measure has been criticized in the literature; see the work of Textor et al. 7 We have considered several reasons for this which cannot be easily accounted for within this framework, and which we consider as potential directions for future work. One is that the collagen environment in which the cells are imaged is not homogeneous: it contains some dense “fibers” as well as empty pockets. Invariably when cells are observed over an extended period, they encounter such inhomogeneities, which affect their long term motion and can explain the loss in predictive power of our models over longer time horizons; see the work of Jones et al. 65
Additionally, our analysis used data only describing the center, or sometimes called centroid, of each cell, which we considered as the cell’s position. T cells are far from being perfect spheres, and from one image to the next their morphology can change dramatically. This affects efforts to try and measure their center. In terms of the centroid data, this can mean that cells that are essentially motionless can appear to have erratic angular changes. This, to an extent, is captured by our model, since motionless cells are then more easily categorized by the HMM as exhibiting non-persistent motion, but a more rigorous method including measurement error to try and filter out this effect is worthy of further work. Also, although we used a decoding approach to estimate the hidden state of the step length following modeling of the angular change, in future work we aim to model the spherical coordinates jointly conditional on the assumed latent/hidden variable that accounts for T-cell switching behavior. Our preliminary results show that the correlation among the step length and the angular change is different in distinct states and clusters. So far, it does not increase the accuracy of the prediction of motility metrics substantially. Our results of this ongoing research, not shown here, indicate
In spite of these areas of future work, we consider our proposed method a valuable contribution to the T-cell motility modeling literature, especially as it considers between-cell and within-cell heterogeneity of motion. Also, the methodology proposed in this paper can be implemented in oncology studies as well as any type of 3D movements.
Supplemental Material
sj-csv-1-smm-10.1177_09622802231172041 - Supplemental material for Modeling three-dimensional T-cell motility using clustering and hidden Markov models
Supplemental material, sj-csv-1-smm-10.1177_09622802231172041 for Modeling three-dimensional T-cell motility using clustering and hidden Markov models by Elaheh Torkashvand in Statistical Methods in Medical Research
Supplemental Material
sj-csv-2-smm-10.1177_09622802231172041 - Supplemental material for Modeling three-dimensional T-cell motility using clustering and hidden Markov models
Supplemental material, sj-csv-2-smm-10.1177_09622802231172041 for Modeling three-dimensional T-cell motility using clustering and hidden Markov models by Elaheh Torkashvand in Statistical Methods in Medical Research
Supplemental Material
sj-csv-3-smm-10.1177_09622802231172041 - Supplemental material for Modeling three-dimensional T-cell motility using clustering and hidden Markov models
Supplemental material, sj-csv-3-smm-10.1177_09622802231172041 for Modeling three-dimensional T-cell motility using clustering and hidden Markov models by Elaheh Torkashvand in Statistical Methods in Medical Research
Supplemental Material
sj-csv-4-smm-10.1177_09622802231172041 - Supplemental material for Modeling three-dimensional T-cell motility using clustering and hidden Markov models
Supplemental material, sj-csv-4-smm-10.1177_09622802231172041 for Modeling three-dimensional T-cell motility using clustering and hidden Markov models by Elaheh Torkashvand in Statistical Methods in Medical Research
Supplemental Material
sj-csv-5-smm-10.1177_09622802231172041 - Supplemental material for Modeling three-dimensional T-cell motility using clustering and hidden Markov models
Supplemental material, sj-csv-5-smm-10.1177_09622802231172041 for Modeling three-dimensional T-cell motility using clustering and hidden Markov models by Elaheh Torkashvand in Statistical Methods in Medical Research
Supplemental Material
sj-pdf-6-smm-10.1177_09622802231172041 - Supplemental material for Modeling three-dimensional T-cell motility using clustering and hidden Markov models
Supplemental material, sj-pdf-6-smm-10.1177_09622802231172041 for Modeling three-dimensional T-cell motility using clustering and hidden Markov models by Elaheh Torkashvand in Statistical Methods in Medical Research
Footnotes
Acknowledgments
Elaheh Fatima Torkashvand acknowledges the significant support of Dr. Joel A. Dubin and Dr. Gregory Rice for this work and also the continuation of this research. We would like to thank STAN group, especially Bob Carpenter, and WestGrid support staff, Ali Kerrache, for their support during this project. Mark N. Read is supported by David and Judith Coffey LifeLab. Elaheh Fatima Torkashvand also thank Jorge Luis Galeano Niño and Maté Biro from EMBL Australia for providing the data and biological comments of this work.
Author's note
Elaheh Torkashvand is also affiliated at College of Public Health, Ohio State University, Columbus, OH, USA.
Data availability statement
Declaration of conflicting interests
The author declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author received the following financial support for the research, authorship and/or publication of this article: This work was supported by Australian Research Council project grant DP180102458. Gregory Rice and Joel A. Dubin acknowledge the support of the Discovery Grant from Natural Sciences and Engineering Research Council (NSERC) of Canada, Grant RGPIN-2016-10477, RGPIN-2016-10476, and RGPIN-2014-05911.
Supplemental information
The Supplemental material includes figures and tables supporting the validity of our choice of HHMM, NHMM, and clustering. A few additional results are also included. The supplemental information is available online.
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
