Literature DB >> 22479534

Towards eliminating bias in cluster analysis of TB genotyped data.

Cari van Schalkwyk1, Madeleine Cule, Alex Welte, Paul van Helden, Gian van der Spuy, Pieter Uys.   

Abstract

The relative contributions of transmission and reactivation of latent infection to TB cases observed clinically has been reported in many situations, but always with some uncertainty. Genotyped data from TB organisms obtained from patients have been used as the basis for heuristic distinctions between circulating (clustered strains) and reactivated infections (unclustered strains). Naïve methods previously applied to the analysis of such data are known to provide biased estimates of the proportion of unclustered cases. The hypergeometric distribution, which generates probabilities of observing clusters of a given size as realized clusters of all possible sizes, is analyzed in this paper to yield a formal estimator for genotype cluster sizes. Subtle aspects of numerical stability, bias, and variance are explored. This formal estimator is seen to be stable with respect to the epidemiologically interesting properties of the cluster size distribution (the number of clusters and the number of singletons) though it does not yield satisfactory estimates of the number of clusters of larger sizes. The problem that even complete coverage of genotyping, in a practical sampling frame, will only provide a partial view of the actual transmission network remains to be explored.

Entities:  

Mesh:

Year:  2012        PMID: 22479534      PMCID: PMC3315507          DOI: 10.1371/journal.pone.0034109

Source DB:  PubMed          Journal:  PLoS One        ISSN: 1932-6203            Impact factor:   3.240


Introduction

In order to better understand the epidemiology of tuberculosis (TB), recent infection needs to be distinguished from the reactivation of latent disease, for instance to assess the success of intervention programs. To this end, molecular techniques of DNA ‘fingerprinting’ such as restriction fragment length polymorphism (RFLP) are commonly used. Typically, bacteria from a sample of infected individuals are typed, and classified as either ‘clustered’ or ‘unique’. Unique cases each form what is termed a ‘singleton cluster’. Two cases yielding the same type, and hence in the same cluster, are usually considered likely to be directly ‘linked’ in the following sense: either one case is the ‘descendant’ of the other, or they share a common ‘ancestor’ [1], [2]. Hence, the proportion of clustered individuals is used as an indicator of the proportion of on-going or recent transmission. There are two common rules of thumb for estimating the proportion of cases due to recent transmission: the ‘n method’ and the ‘n-1 method’. The former uses the proportion of cases in clusters as a proxy for the proportion of cases due to recent transmission. In the latter, one case from each cluster is assumed to be an index case, and the proportion of non-index cases is used as a measure of recent transmission (thus the ‘n-1 method’ always leads to a lower estimate of the proportion of recent transmission). It is unlikely that one will be able to identify every active case in a community. Moreover, among sputum confirmed TB subjects encountered (typically self-reporting to clinics), not all sputum samples will be successfully typed. However, the proportion successfully typed (sampling rate) is, of course, known. It has previously been shown [3], [4] that naïve estimates of clustering exhibit a systematic bias, leading to underestimation of the proportion of clustered individuals. There are three components to this problem of bias: 1) the imperfect view of the epidemic in a community provided by considering only the reported TB cases for a given finite period of time e.g. bias caused by under-diagnosis, partial contact tracing or the restriction of the time window. For these and other various logistical reasons, the reported cases do not represent a random sample from all TB cases in the community. 2) The sample of genotyped cases is not necessarily a random sample of the reported cases due to the diagnostic probability of culture-positivity being dependent on age and HIV status. To reduce this bias, children should be excluded from the study population. In settings where HIV prevalence is high, this bias will not be negligible. 3) Bias in the number of unique cases exists due to contributions resulting from sampling the larger clusters, e.g. 10 clusters of size 4 when sampled at a rate of 0.6 may present as 4 singleton clusters (uniques) together with 3 doublet clusters, 1 triplet cluster and 2 clusters of size 4. For the same reason, bias arises in the total number of clusters. These contributions to total bias are not insignificant. This third source of bias will be called frequency distribution bias. An estimation method to eliminate the bias in 3) only is demonstrated. This method makes no attempt to address the bias in 1) above, nor the bias in 2). Should, however, the notified cases form a random sample of TB cases in the community, and the genotyped cases a random sample of notified cases, then the present analysis could be used to make inferences about transmission in the community. In the remainder of this paper, it is assumed that genotyped cases do form a random sample of the notified cases so that the method addresses the question of the proportion of transmission represented among the notified cases only. Four existing datasets are used to illustrate this method. In addition to a less biased estimate for the amount of clustering, an estimate of the variance, and hence confidence intervals, is obtained. However it must be noted that these results effectively assume no bias of type 2. In subsequent sections the term ‘population’ will refer to all individuals in a community for whom a sputum-based positive TB diagnosis was made. The group for whom sputum samples were successfully typed will be called the ‘sample’. Bias refers to the frequency distribution bias.

Methods

Notation and preliminaries

Note the following definitions that hold for the population: Each case in the population is a member of a cluster. Let M be the number of clusters, with the typical cluster indexed by i = 1,…, M , and let a be the size of the i th cluster. a  =  (a 1, … , a) therefore represents the sizes of the clusters in the population. The total number of cases is given by . Let A be the total number of clusters of size k, (k  =  1, …, N  =  max(a)). The population vector of cluster size frequencies is then given by  =  (A 1, … , A). S of the A total cases are typed and clustered using genotyping. It is assumed that the sampling process is independent of the clusters i.e. each case is equally likely to be typed, irrespective of which cluster it belongs to. This gives rise to observed clusters of size  =  (s 1, …, s). The investigator is of course unaware of the existence of clusters which have an observed size of zero. Nevertheless, can be thus defined and has a multivariate hypergeometric distribution, with mass function The valuerepresents the total number of clusters of size k observed in the typed sample. 1 denotes the indicator function, that is,The sample vector of cluster frequencies (a histogram of observed cluster sizes) is given by: . Of course, it is not possible to know N, the true size of the largest cluster. Thus, a truncated vector is observed, where is the largest observed cluster size. Let P denote the matrixwhereis the hypergeometric probability mass function, which represents the probability that a population cluster of size n presents as a cluster of size k in the sample. It is additionally useful to define the probability that population clusters of size m and n present as sample clusters of size j and k respectively:

Quantities of interest

The main quantities of interest are: M , the total number of clusters A 1, the number of unclustered cases (i.e. the number of singleton clusters) , the proportion of cases not in singleton clusters. According to the ‘n method’ heuristic, this is the proportion of recent transmissions. , the proportion of cases which are not the first case in a cluster. According to the ‘n-1 method’ heuristic, this is the proportion of recent transmissions. Naïvely, one would estimate and . These estimators have been shown to be biased [3], [4]. In the subsequent section, unbiased estimators are derived for M and A 1, whence estimators for p and p may be directly derived by substitution into their definitions (A is simply the reported number of positive TB diagnoses in the study). The uncertainty (standard error) inherent in the estimator is also analyzed in order to obtain confidence intervals.

Estimator of M and A 1

It can be shown that (see Supporting Information S1), for k  =  1, … , N,or, in matrix notation,It can also be shown that the diagonal elements of the covariance matrix, cov(S) are given by:And the off-diagonal elements cov(S) by:From equation 1, a crude estimate of may be obtained by simply matching the first moment, that is,The covariance matrix of may be calculated using equations 2 and 3. Due to high variance and high correlation between components, this performs poorly as an estimate of . The origin and consequences of this inherent instability are discussed in the Supporting Information S2. The crucial quantities of interest are the total number of clusters and the number of singletons, A 1. An estimator of M can be derived as:The first element of the vector is an estimate for A 1. These are unbiased as a consequence of equation 1. Expressions for the variances and may be derived from equations 2 and 3. These quantities still depend on the (unknown) . The estimate of  =  P can be used to obtain estimates and of and .

Approximate confidence intervals

Since is a linear combination of random variables (albeit with some dependence), a normal approximation to the distribution of seems reasonable. Assuming this approximation is valid, the estimate of can be used, which leads to the approximate (1 - α) - level confidence interval ofSimilarly, an approximate (1 - α) - level confidence interval for A 1 is given by:

Computational considerations

Note that the estimates in equations 4 and 5 still involve an unknown quantity, namely N, the maximum population cluster size. However, from the upper triangular structure of P and the fact that S  =  0 for , the estimates are unchanged if P(N) is replaced by P() and by the observed vector . The matrix P is close to singular when is large. A truncation approach to the use of the P matrix is now introduced. The observed vector is divided into two parts 0 (the first C components, which lead to a numerically stable inversion of P) and 1 (the remaining components). The vector 0 is used as the input into the method outlined above, and the number of clusters in 1 is simply a known number of clusters to be added to any inferred total cluster count. The key question that arises is whether the truncation leads to stable estimates of the number of clusters, M, and the number of singletons, A 1, and this is investigated below. The maximum cluster size for which the P matrix is still numerically non-singular will be the maximum cluster size at which the vector 0 can be truncated. Within this range, it is now possible to explore bias and variance of estimates of M and A 1. This is done for hypothetical populations at various sampling rates and truncations under Results.

Results

Exploring bias and variance of M and A

In order to explore this bias and variance, suitable hypothetical populations are required since actual populations are not known. Available data from 4 cities (Alabama [5], Cape Town [6], San Francisco [1], Zaragoza [7]) were used to generate hypothetical populations which produce samples clustered close to the observed data sets (see the method and data in Supporting Information S3). One thousand samples for each of these populations were obtained by sampling according to the multivariate hypergeometric distribution given in Equation 1. (The statistical software R version 2.14.1 was used for all analyses.) The P matrix inversion method described above was used to obtain estimates for the number of clusters, M , and the number of singletons, A 1. The coefficient of variation (CV) and the absolute of normalized bias for sampling rates of 40% and 70% are illustrated in Figure 1 and Figure 2, respectively.
Figure 1

Normalized bias and coefficient of variation for estimated M and A1 for sampling rate of 40%.

The normalized bias alternates between positive and negative values at even and uneven truncations respectively. For ease of viewing, the absolute values of normalized bias are shown.

Figure 2

Normalized bias and coefficient of variation for estimated M and A1 for sampling rate of 70%.

The maximum normalized bias at truncation cluster size of 6 is 0.164% for M and 0.299% for A1. The maximum CV at the same truncation is 2.75% for M and 4.92% for A1. The normalized bias alternates between positive and negative values at even and uneven truncations respectively. For ease of viewing, the absolute values of normalized bias are shown.

Normalized bias and coefficient of variation for estimated M and A1 for sampling rate of 40%.

The normalized bias alternates between positive and negative values at even and uneven truncations respectively. For ease of viewing, the absolute values of normalized bias are shown.

Normalized bias and coefficient of variation for estimated M and A1 for sampling rate of 70%.

The maximum normalized bias at truncation cluster size of 6 is 0.164% for M and 0.299% for A1. The maximum CV at the same truncation is 2.75% for M and 4.92% for A1. The normalized bias alternates between positive and negative values at even and uneven truncations respectively. For ease of viewing, the absolute values of normalized bias are shown. At low sampling rates the estimates of the number of clusters, M, are more stable than the estimates of the number of singletons, A 1. The relative variability for both M and A 1 increases as the truncation increases. The bias for M is very small, and shows initial decrease with increasing truncation. The bias for A 1, which is considerably higher than the bias for M, increases with increasing truncation. This may be an indication that estimates for A 1 are not very reliable at low sampling rates. In Figure 2 a higher sampling rate of 70% is considered. The graphs are plotted on the same scales as in Figure 1 to illustrate that bias and variability decreases dramatically for this higher sampling rate. Interestingly, the bias and variability also show no dependence on truncation. Figure 3 illustrates the decrease in bias and variability at a fixed truncation of 6 for various sampling rates, showing that both are very small for sampling rates of 50% and greater.
Figure 3

Normalized bias and coefficient of variation for estimated M and A1 when the vector S is truncated at size 6.

The maximum normalized bias at a sampling rate of 50% is 0.206% for M and 2.38% for A1. The maximum CV at the same sampling rate is 4.72% for M and 13.93% for A1.

Normalized bias and coefficient of variation for estimated M and A1 when the vector S is truncated at size 6.

The maximum normalized bias at a sampling rate of 50% is 0.206% for M and 2.38% for A1. The maximum CV at the same sampling rate is 4.72% for M and 13.93% for A1. Figure 4 shows that the bias in the estimate of the proportion of cases which are not singletons, , using the P matrix inversion method, drops to almost zero for sampling rates of 50% and higher, while the decrease in bias for the naïve method is much slower. Similarly, the bias in the estimate of , by the P matrix inversion method, is less than 2% at the low sampling rate of 40% and drops to almost zero for sampling rates of 50% and higher, while the decrease in bias for the naïve method is again much slower.
Figure 4

Bias in proportions using the naïve method, or the P matrix inversion method when the vector S is truncated at size 6.

The instabilities introduced by this approach could in principle be addressed by adopting a maximum likelihood or fully Bayesian approach to the inference. Given that 1) the method is quite stable in the needed regime, 2) the elements of P are ‘cluster level’ likelihoods and the full ‘cluster size histogram’ level likelihood analysis is therefore considerably more complicated, and 3) this additional complexity would still not address the inherent limitations of the sampling frame, there is probably no real benefit in pursuing these more general approaches.

Applying method to existing data

The P matrix inversion method is applied to the same datasets considered above. In these datasets, 70% or more of TB diagnoses were typed. Based on the conclusion drawn in the previous section, any truncation can be chosen with negligible risk of introducing significant bias or variance. The results obtained effectively assume no bias of type 2). Table 1 shows the fraction of patients sampled, followed by estimates (and standard errors) for the total number of clusters, the number of clusters of size one, and the fraction, p, of transmitted cases, according to the ‘n method’ and ‘n-1 method’. In addition to the P matrix inversion method, these fractions are also calculated with the naïve method. The observed vector is truncated at cluster size 6. The R code used to produce Table 1 is provided in the Supporting Information S3.
Table 1

Estimated quantities, with standard errors for truncation  =  6.

Datasets A r
Alabama 22040.81408 (11.7)1271 (14.8)0.422 (0.0067)0.359 (0.0053)0.410.345
Cape Town 20930.7895 (14.7)636 (23.04)0.696 (0.011)0.572 (0.007)0.6530.528
San Francisco 5850.81391 (5.86)339 (7.79)0.419 (0.0133)0.33 (0.01)0.4040.311
Zaragoza 4860.93276 (3.04)227 (4.09)0.534 (0.0083)0.434 (0.0062)0.5260.427

Note: These estimates are for the notified cases only, under the assumption of no type 2 bias.

Note: These estimates are for the notified cases only, under the assumption of no type 2 bias.

Discussion

Cluster analysis is used to estimate the proportion of transmission of tuberculosis in a community. However, it is subject to limitations, many of which have been discussed elsewhere [3], [4], [8]. Previous attempts at assessing the magnitude of bias in the proportion of transmission failed to adequately distinguish between three distinct sources of bias: 1) the cases reporting to clinics are unlikely to represent a random sample of all active TB cases in the community, 2) the genotyped cases are not necessarily a random sample of the reported cases, 3) frequency distribution bias. The extent of bias of types 1) and 2) relative to bias of type 3) will vary according to local conditions and no general statement concerning this extent is possible here. The present work identifies these separate problems, but solves the third problem only, under the assumption that the subset is random. Given genotyped data on at least a majority of positive TB diagnoses (within a defined sampling frame) this work presents a method of inferring, robustly, the number of singletons and clusters that would have been observed if all positive sputa had been genotyped. This leads to an unbiased estimate of the proportion of transmission among the notified TB cases in the community. It should be noted however, that the genotype methods currently used do not have perfect sensitivity and specificity. The choice of method necessarily results in a compromise between an evolutionary rate that is fast enough so as to provide sufficient discriminatory power between unrelated disease cases and yet still link related cases. Therefore measures of recent transmission that account for genetic heterogeneity and fingerprint pattern change rate need to be developed to ensure that the sample cluster distribution accurately represents the reality in the population [9]. Scott et al [10] investigated and compared three measures – IS6110 RFLP, both dichotomous and continuous (nearest genetic distance) and PCR-based. They concluded that the poor sensitivity of the standard IS6110 RFLP test leads to estimates of clustering that are likely too low yet IS6110 typing remains the best method, at least in a low-incidence setting where the population of M. tuberculosis isolates shows a high degree of genetic diversity. This is in large part because IS6110 typing has the slowest evolution rate. The P matrix inversion method assumes that typing is accurate. It should, moreover, also be noted that not all cases in a cluster are necessarily related by infection events. It is possible for a case to be the result of re-activation, i.e. to be endogenous, and to be misinterpreted. Thus bias lowering the number of singletons may be present. These considerations are investigated by Pretorius et al [11] and do not form part of the present work. Knowledge of the relative impact of transmission, versus reactivation disease, can be used to design and evaluate transmission reduction programs, and target vulnerable locations or regions with appropriate interventions. This may be particularly appropriate for investigating antibiotic resistance worldwide, to explore the extent to which resistant strains are actively circulating in the community, or emerging de novo in sub-optimally treated patients. Cluster analysis is an invaluable tool to assist such investigations. This file describes the derivation of Equations (1)–(3). (DOC) Click here for additional data file. This file describes the origin and consequences of the inherent instability in estimating the vector A with equation (4). (DOC) Click here for additional data file. This file provides the algorithm for creating hypothetical populations for a given sample and code to reproduce the results in Table 1. (DOC) Click here for additional data file.
  11 in total

1.  An investigation into the statistical properties of TB episodes in a South African community with high HIV prevalence.

Authors:  Carel Pretorius; Peter Dodd; Robin Wood
Journal:  J Theor Biol       Date:  2010-11-04       Impact factor: 2.691

Review 2.  How close is close enough? Exploring matching criteria in the estimation of recent transmission of tuberculosis.

Authors:  Andrea Benedetti; Dick Menzies; Marcel A Behr; Kevin Schwartzman; Yulan Jin
Journal:  Am J Epidemiol       Date:  2010-06-24       Impact factor: 4.897

3.  Bayesian modelling of tuberculosis clustering from DNA fingerprint data.

Authors:  Allison N Scott; Lawrence Joseph; Patrick Bélisle; Marcel A Behr; Kevin Schwartzman
Journal:  Stat Med       Date:  2008-01-15       Impact factor: 2.373

4.  Effect of study duration on the interpretation of tuberculosis molecular epidemiology investigations.

Authors:  G D van der Spuy; P D van Helden; R M Warren
Journal:  Tuberculosis (Edinb)       Date:  2009-02-26       Impact factor: 3.131

5.  Influence of sampling on clustering and associations with risk factors in the molecular epidemiology of tuberculosis.

Authors:  Martien W Borgdorff; Susan van den Hof; Nico Kalisvaart; Kristin Kremer; Dick van Soolingen
Journal:  Am J Epidemiol       Date:  2011-05-23       Impact factor: 4.897

6.  Influence of sampling on estimates of clustering and recent transmission of Mycobacterium tuberculosis derived from DNA fingerprinting techniques.

Authors:  J R Glynn; E Vynnycky; P E Fine
Journal:  Am J Epidemiol       Date:  1999-02-15       Impact factor: 4.897

7.  Tuberculosis genotyping in six low-incidence States, 2000-2003.

Authors:  Maryam B Haddad; Lois A Diem; Lauren S Cowan; M Donald Cave; Juli Bettridge; Lourdes Yun; Carolyn S Winkler; Denise D Ingman; Tanya V Oemig; Allen Lynch; Jose T Montero; Scott B McCombs; Kashef Ijaz
Journal:  Am J Prev Med       Date:  2007-01-22       Impact factor: 5.043

8.  Sampling bias in the molecular epidemiology of tuberculosis.

Authors:  Megan Murray
Journal:  Emerg Infect Dis       Date:  2002-04       Impact factor: 6.883

9.  The epidemiology of tuberculosis in San Francisco. A population-based study using conventional and molecular methods.

Authors:  P M Small; P C Hopewell; S P Singh; A Paz; J Parsonnet; D C Ruston; G F Schecter; C L Daley; G K Schoolnik
Journal:  N Engl J Med       Date:  1994-06-16       Impact factor: 91.245

10.  Long-term molecular analysis of tuberculosis strains in alabama, a state characterized by a largely indigenous, low-risk population.

Authors:  Mirjam-Colette Kempf; Nancy E Dunlap; Kerry H Lok; William H Benjamin; Nancy B Keenan; Michael E Kimerling
Journal:  J Clin Microbiol       Date:  2005-02       Impact factor: 5.948

View more
  1 in total

1.  Bayesian reconstruction of Mycobacterium tuberculosis transmission networks in a high incidence area over two decades in Malawi reveals associated risk factors and genomic variants.

Authors:  Benjamin Sobkowiak; Louis Banda; Themba Mzembe; Amelia C Crampin; Judith R Glynn; Taane G Clark
Journal:  Microb Genom       Date:  2020-04-01
  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.