Skip to main content
  • Methodology article
  • Open access
  • Published:

Determination of sample size for a multi-class classifier based on single-nucleotide polymorphisms: a volume under the surface approach

Abstract

Background

Data on single-nucleotide polymorphisms (SNPs) have been found to be useful in predicting phenotypes ranging from an individual’s class membership to his/her risk of developing a disease. In multi-class classification scenarios, clinical samples are often limited due to cost constraints, making it necessary to determine the sample size needed to build an accurate classifier based on SNPs. The performance of such classifiers can be assessed using the Area Under the Receiver Operating Characteristic (ROC) Curve (AUC) for two classes and the Volume Under the ROC hyper-Surface (VUS) for three or more classes. Sample size determination based on AUC or VUS would not only guarantee an overall correct classification rate, but also make studies more cost-effective.

Results

For coded SNP data from D(≥2) classes, we derive an optimal Bayes classifier and a linear classifier, and obtain a normal approximation to the probability of correct classification for each classifier. These approximations are then used to evaluate the associated AUCs or VUSs, whose accuracies are validated using Monte Carlo simulations. We give a sample size determination method, which ensures that the difference between the two approximate AUCs (or VUSs) is below a pre-specified threshold. The performance of our sample size determination method is then illustrated via simulations. For the HapMap data with three and four populations, a linear classifier is built using 92 independent SNPs and the required total sample sizes are determined for a continuum of threshold values. In all, four different sample size determination studies are conducted with the HapMap data, covering cases involving well-separated populations to poorly-separated ones.

Conclusion

For multi-classes, we have developed a sample size determination methodology and illustrated its usefulness in obtaining a required sample size from the estimated learning curve. For classification scenarios, this methodology will help scientists determine whether a sample at hand is adequate or more samples are required to achieve a pre-specified accuracy. A PDF manual for R package “SampleSizeSNP” is given in Additional file 1, and a ZIP file of the R package “SampleSizeSNP” is given in Additional file 2.

Background

Data on single-nucleotide polymorphisms (SNPs) have been found to be useful in predicting an individual’s class membership or his/her response to a drug, susceptibility to environmental factors such as toxins, and the risk of developing a particular disease, among others [15]. The classification literature provides a variety of classifiers (e.g., Support Vector Machine, genetic programming, Neural Networks and Logistic Regression) and sample size determination methods [610], but most of these are only applicable to continuous data.

Recently Liu et al. [11] developed an optimal Bayes classifier and a linear classifier for coded SNP data from two classes, and obtained a normal approximation to the probability of correct classification (PCC) for each classifier. They also proposed a sample size determination methodology to determine an adequate sample size, which ensures that the difference between the two approximate PCCs is below a pre-specified threshold value. Using Monte Carlo simulations, Liu et al. [11] assessed the validity of their approximations. Furthermore, they illustrated the performance of their sample size determination method via simulations and a real data analysis using the HapMap data on two populations—Chinese and Japanese.

While Liu et al. [11] showed that their sample size determination method is competitive, they also pointed out that an additional maximization step is required in order to determine the discrimination values for each of their classifiers; see their REMARK1 in their article for more details. When there are three or more classes, however, determination of such discrimination values is not only more difficult, but also increases the overall computational burden. In a two-class scenario, a well known way to overcome this difficulty is to consider the Receiver Operating Characteristic (ROC) curve, which plots the True Positive Rates vs. False Positives Rates, at various discrimination values [12, 13]. Note that the ROC allows the discrimination value to be varied and it simultaneously explores all possible combinations of the correct classification rates [14]. The Area Under the ROC curve (AUC) is commonly used as a scalar performance measure, which allows classifiers to be compared independent of the discrimination values. Unfortunately, the AUC measure is only applicable to a two-class scenario. A popular extension of the AUC measure, known as the Volume Under the ROC hyper-Surface (VUS) measure, is often used in a multi-class scenario (see e.g., Landgrebe and Duin [14] and Landgrebe and Paclik 2010 [15]).

This article revisits the problem of sample size determination in classification scenarios involving coded SNP data, but uses the AUC and the VUS as performance measures for two-class and multi-class scenarios, respectively. More specifically, for coded SNP data from D(≥2) classes, we derive an optimal Bayes classifier and obtain a normal approximation to its probability of correct classification, which is denoted by P C C(). We also derive a linear classifier and obtain a normal approximation to its probability of correct classification, which is denoted by PCC( n ). For an overall assessment of each of the classifiers, we define the scalar measures AUC (for two-class) and VUS (for multi-class), and correspondingly define the quantities AUC(),AUC( n ),VUS()andVUS( n ) for each classification scenario. For the two-class scenario, we propose to determine the sample size n for which AUC()AUC( n )<γ, where γ(0,1) is a pre-specified threshold value. Whereas, for the multi-class scenario, we propose to determine the sample size n for which VUS()VUS( n )<γ. A computational method to determine the total sample size for various values of γ is described. Monte Carlo simulations are carried out to corroborate our theoretical approximations, and the performance of our sample size determination method is assessed via simulations and analysis of the HapMap data consisting of 3 and 4 populations, respectively. In all, four different sample size determination studies are conducted with the HapMap data, covering cases involving well-separated populations to poorly-separated ones. Details are given in the data analysis section.

R software was used to carry out all the computations. A PDF manual for R package “SampleSizeSNP” is given in Additional file 1, and a ZIP file of the R package “SampleSizeSNP” is given in Additional file 2.

Methods

Assumptions

Suppose there are D(≥2) distinct classes denoted by C1,…,C D , consisting of n1,…,n D subjects, respectively. For each subject, we observe a p-dimensional SNP vector, x = ( x 1 , x 2 , .. , x p ) , where typically p is much larger (>>) than i = 1 D n i , and the jth SNP is coded in such a way x j =0,1,2, which denotes the number of minor alleles in the genotype “aa”, “Aa” and “AA”, respectively. It is possible that some of the SNPs are highly correlated, leading us to choose one SNP to represent a set of highly correlated ones. For classification and sample size determination, we make the following assumptions:

  1. 1.

    For an m such that i = 1 D n i <<m<p, the data vector x = ( x 1 , , x m ) consists only of m SNPs, which are statistically independent. That is, the rest of the (pm) correlated SNPs are not used for classification.

  2. 2.

    For each k=1,…,D and j=1,…,m, we postulate Hardy-Weinberg equilibrium, according to which the probability mass function of the coded SNP (X j ) belonging to class k is given by

    P k ( X j = x j | θ k , j ) = 2 x j θ k , j x j ( 1 θ k , j ) 2 x j , x j = 0 , 1 , 2 ,

    where θk,j is the minor allele frequency at locus j in class k, and by definition θk,j(0.01,0.5). Here, θk,j<0.5 because it is the minor allele frequency, and θk,j>0.01 ensures that the polymorphism is not a mutation. For each k=1,…,D, let θ k = ( θ k , 1 , , θ k , m ) denote the parameter vector corresponding to the class C k .

  3. 3.

    There is a percentage ρ of the m SNPs with marginal effect on any two classes, and let l=ρ m be the number of SNPs with marginal effects.

The optimal classifier and its PCC

By the assumptions above, the conditional mass function of X = ( X 1 , , X l ) given the class C k , k=1,…,D, is

f k ( X = x | θ k ) = j = 1 l 2 x j θ k , j x j ( 1 θ k , j ) 2 x j .

Suppose π k =P( x C k ) and we denote the marginal mass function f( x )= k = 1 D π k f k ( x | θ k ), then for each 1≤kD, the posterior mass function of the class C k given x is

τ k ( θ k | x ) = π k f k ( x | θ k ) f ( x ) .

For any fixed k=1,…,D, the Bayes classification rule then classifies x to the class C k if

τ k ( θ k | x ) τ k ( θ k | x ) > 1
(1)

for all kk. This leads to the optimal Bayes classifier, which classifies x to C k if

j = 1 l b k , k j x j > K k , k
(2)

for all kk, where

b k , k j = log θ k , j ( 1 θ k , j ) θ k , j ( 1 θ k , j ) and K k , k = log π k π k + 2 log 1 θ k , j 1 θ k , j .
(3)

Then, the PCC of the optimal Bayes classifier is defined as

PCC ( ) = k = 1 D π k P k k j = 1 l b k , k j x j > K k , k | X C k .

In Additional file 3: Appendix 1, we derive a normal approximation for P C C(), as l. That is, for large l, we show that

PCC ( ) k = 1 D π k K k ϕ x ; μ l , k , Σ l , k d x ,
(4)

where ϕ is the (D−1)-dimensional multivariate normal density, K k is a multiple integral, K k and μ l , k are (D−1)×1 vectors, and Σl,k is a (D−1)×(D−1) matrix. All these quantities are defined in Additional file 3: Appendix 1.

In Additional file 3: Appendix 4, we give an expression for (4) for the case D=3.

A linear classifier and its PCC

Motivated by the form of the optimal Bayes classifier in (2), we consider the following linear classifier that classifies x to the class C k if

j = 1 m b ̂ k , k j w j , n ( k , k ) x j > K ~ k , k
(5)

for all kk, where b ̂ k , k j =log( θ ̂ k , j ( 1 θ ̂ k , j ) θ ̂ k , j ( 1 θ ̂ k , j ) ), θ ̂ k , j and θ ̂ k , j are the maximum likelihood estimators of θ k , j and θ k , j , respectively. Also, the values of the weights wj,n(k,k) in (5) are determined in the following way: For each j=1,…,m and kk, suppose we test the hypothesis H 0 , j k , k : θ k , j = θ k , j versus H 1 , j k , k : θ k , j θ k , j . Then wj,n(k,k)=1 if H 0 , j k , k is rejected; else wj,n(k,k)=0. In Additional file 3: Appendix 2, we use the large sample theory to derive a Wald test of level α to test H 0 , j k , k versus H 1 , j k , k , and an expression for the power, 1 β j k , k ( n k , n k , h j ), of this test, when θ k , j θ k , j = h j .

In Additional file 3: Appendix 3, we derive a normal approximation for the PCC of the linear classifier, denoted by PCC( n ). That is, for large l, we show that

PCC ( n ) k = 1 D π k K ~ k ϕ x ; μ ~ l , k , Σ ~ l , k d x
(6)

Note that PCC( n ) depends on n = ( n 1 , , n D ) through ( μ ~ m , k , Σ ~ m , k ); see Additional file 3: Appendix 3 for details. In Additional file 3: Appendix 4, we give an expression for (6) for the case D=3.

AUC and VUSfor the optimal and linear classifiers

For any (k,k), define

ξ k , k = P Classify X to C k | X C k .

Then, for the optimal Bayes classifier in (2) we have from (4) that

ξ k , k K k ϕ x ; μ l , k , Σ l , k d x
(7)

and similarly, for the linear classifier in (5), we have from (6) that

ξ ~ k , k K ~ k ϕ x ; μ ~ l , k , Σ ~ l , k d x ,
(8)

for k=1,…,D. When D=2, for the optimal Bayes classifier, the R O C() for two classes is the curve ξ2,2 vs. (1−ξ1,1). Then, the A U C() is

AUC ( ) = ξ 2 , 2 d ξ 1 , 1 .

However, when the number of classes D≥3, we need to consider the volume under the ROC hypersurface. Following the work of Landgrebe and Duin [14], the VUS is defined as

VUS ( ) = ξ D , D d ξ 1 , 1 ξ 2 , 2 ξ ( D 1 ) , ( D 1 )
(9)
= ξ D , D ξ 1 , 1 , ξ 2 , 2 , , ξ ( D 1 ) , ( D 1 ) ( K 1 , K 2 , , K D 1 ) dK 1 dK D 1 .

By replacing ξk.k by ξ ~ k , k [see (8)] in the above definitions of R O C,A U C and the VUS, we obtain corresponding expressions for the linear classifier in (5). We denote the resulting ones as AUC( n ) and VUS( n ). In Additional file 3: Appendix 4, we derive these expressions for the case D=3.

Computation of VUS

As is evident from (9), the computation of VUS involves high dimensional integration. Given below is a brief description of the steps involved in the computation of VUS. For ease of exposition, we will denote ξ k =ξk,k, k=1,…,D. First, we randomly generate the thresholds K =( K 1 , K 2 ,, K D 1 ) (see (9)) and compute the corresponding ξ = ( ξ 1 , ξ 2 , , ξ D ) satisfying (7). Note that the ξ contributes to the integration in VUS only if all the ξ k ’s are positive.

To find as many ξ values that contribute to the integration as possible, we use the ant colony optimization algorithm, where only the K values corresponding to the ξ values that contribute to the integration are retained. However, these are perturbed by a small noise and the resulting K values are used as seeds for the next iteration. Then, we use the genetic algorithm to obtain another ξ value located in a different region within (0,1)k, which also contributes to the integration. We use the ant colony algorithm and the genetic algorithm alternatively to eventually generate a dense set of ξ ( ( 0 , 1 ) k ) values that contribute to the integration. Note that the process is such that the newly generated ξ values are appended to all the previously generated ξ values.

Now, to compute the volume, V U S(), we use the convhulln function in the qhull R-package. Note that the convhulln function is designed to determine the convex hull of a set of D-dimensional points and thus compute the volume of the hull. In view of this, in order to compute the volume, V U S(), a base of ξ (this is same as the ξ vector, except that one of its components, e.g. the first component, is set to 0) is appended to the original ξ . Since in each iteration the new ξ values are appended to the old ξ values from the previous iterations, and the VUS is concave, the computed VUS is supposed to increase in value with each iteration. We stop appending the new ξ values when |V U S o l d V U S n e w |<0.001. When this criterion is satisfied, we obtain the value of V U S(). Similarly, the values of AUC(),AUC( n ),andVUS( n ) are calculated.

Sample size determination using VUS or AUC

Given a threshold γ, we determine the sample size n satisfying the following condition:

VUS ( ) VUS ( n ) < γ
(10)

For the case D=2, we determine the sample size n satisfying the condition: AUC()AUC( n )<γ. A simulation study for the case D=2 is carried out in Additional file 3: Appendix 5 to assess the performance of our sample size determination algorithm.

Results

Monte Carlo simulations

Before we illustrate the performance of our sample size determination method based on AUC or VUS, we present results from an extensive Monte Carlo simulation study conducted to verify the accuracy of the approximations for AUC( n ) and VUS( n ), respectively, and study their behavior as a function of n and other parameters. Here, we present the numerical assessments based on the VUS for the cases D=3 and 4, respectively. However, as mentioned above, the assessments based on the AUC for the case D=2 are given in Additional file 3: Appendix 5. Henceforth, we will set n k =n for all k=1,…,D, and we will use n instead of n to simplify notations.

When D=3, we consider the following simulation set up: For θ 1 = ( θ 1 , 1 , , θ 1 , m ) , let θ1,jU(0.4,0.49), j=1,…,m; for a specified scalar value h, let h 1 , h 2 be such that their components hi,jU(h−0.002,h+0.002), i=1,2; j=1,…,m; and let θ 2 = θ 1 h 1 , θ 3 = θ 2 h 2 . First, we generated a ( θ 1 , θ 2 , θ 3 ) according to the above set up, and then generated the data vector x = ( x 1 , , x m ) for each class. We then computed VUS ( ) ̂ and VUS ( n ) ̂ following the computational methodology described earlier. For this ( θ 1 , θ 2 , θ 3 ), we then drew twenty x data sets and calculated a Monte Carlo estimate, denoted by VUS ( n ) ̂ MC. This process was repeated 20 times and an average value of VUS ( n ) ̂ MC was computed. These are given in Table 1. It is evident from Table 1 that the Bias ̂ = VUS ( n ) ̂ MC VUS ( n ) ̂ is negligible in most cases, which validates the use of our approximation for V U S(n). Table 1 also gives similar results for the case D=4. Note that V U S()=1/D! for a random classifier, which is the lower bound of V U S() for any classifier.

Table 1 Performance of optimal and linear classifiers

Next, we determine the smallest n such that f(n)= VUS ( ) ̂ VUS ( n ) ̂ γ<0, for a pre-specified γ value. We use the following algorithm to determine such an n: (i) Let n=n S and n L such that f(n S )>0 and f(n L )<0, and set n M =[(n S +n L )/2]. The algorithm begins by selecting a small n S and a large n L ; (ii) If f(n M )f(n S )<0, then reset n L =n M ; or else, reset n S =n M . In either case, return to step (i), unless n L n S ≤1, in which case, the smallest sample n=n L ; (iii) Use the smallest (total) sample of size D×n L , with n=n L from each class, C1,…,C D . We implemented this algorithm for each value of h, m and significance level α for the Wald test; see discussion below (5). For the cases D=2 and D=3, respectively, Table 2 displays the determined sample sizes for γ=0.01 and each combination of parameter values. From Table 2, it is evident that the required sample size reduces as h increases, as expected. Hence, f(n)<0 for smaller sample sizes, as shown in Table 2. However, the effect of m on the determined sample sizes is less clear. When h is large, say h≥0.1, then the required sample size reduces as m becomes large. Whereas, when h is small, say h=0.05, the reverse is true as m becomes large.

Table 2 Sample size determination: here, D = 3 and 4 , and n is the sample size for each class satisfying: VUS ( ) ̂ VUS ( n ) ̂ < γ ( = 0.01 )

Application to the HapMap data

The aim of the International HapMap Project is to develop a haplotype map of the human genome, which will describe the common patterns of human DNA sequence variation.

The HapMap data (Phase III) consists of eleven populations with about p=1.2×106 SNPs. Here, we consider the following nine populations in order to illustrate our sample size determination algorithm: ASW—African ancestry in Southwest USA with 87 subjects; CEU—Utah residents with Northern and Western European ancestry from CEPH collection with 167 subjects; CHB—the Han Chinese individuals from Beijing with 137 subjects; CHD—Chinese in Metropolitan Denver, Colorado with 109 subjects; GIH—Gujarati Indians in Houston, Texas with 101 subjects; JPT—the Japanese individuals from Tokyo with 113 subjects; MEX—Mexican ancestry in Los Angeles, California with 86 subjects; TSI—Toscans in Italy (TSI) with 102 subjects; and YRI—Yoruba in Ibadan, Nigeria with 203 subjects. With these, we created four sample size determination studies, of which the first three involve three populations (D=3), and the last study involves four populations (D=4). More specifically, we conducted our sample size determination studies with the following population groupings: (I) (CEU, GIH, MEX); (II) (ASW, TSI, YRI); (III) (CHB, JPT, CHD); and (IV) (CHB, JPT, CHD, GIH).

Based on all the available subjects, we extracted pair-wise independent SNPs using the following steps. Suppose L is a set of SNPs, then: (I) form a set S with one SNP from L and update S after the next step; (II) from the remaining SNPs in L, choose one SNP that is independent of every SNP in S using Kendall’s τ coefficient as a test statistic to test pair-wise independence, and then add this new SNP to S. Here, we concluded independence if the Kendall’s τ-value <0.05; (III) Repeat (II) until each remaining SNP in L is correlated with at least one SNP in S. This procedure yielded a set S with m=92 pair-wise independent SNPs, and with these we built our linear classifier.

Next, we set ρ=1 so that m=l=92; see Assumption 3 under the Methods section. Recall that θ k = ( θ k , 1 , , θ k , l ) for k=1,…,D. For the cases D=3 and D=4 considered in studies (I) to (IV) above, we estimated θ k using the maximum likelihood (ML) estimates obtained based on all the available subjects belonging to the respective populations. We then substituted these ML estimates into the corresponding expressions for VUS ( ) ̂ and VUS ( n ) ̂ , respectively. Figures 1, 2 and 3 show plots of required sample sizes for a continuum of threshold values γ for the case D=3 considered in studies (I) to (III), respectively, and Figure 4 plots the same for D=4 considered in study (IV). From these figures, the required total sample size can be determined approximately for each pre-specified γ value.

Figure 1
figure 1

Total sample sizes needed for classification to well-separated HapMap populations CEU, GIH, and MEX. For the linear classifier based on the SNP data from the three populations, the estimated learning curve gives the required total sample size for different values of the threshold, γ, satisfying VUS ( ) ̂ VUS ( n ) ̂ <γ. Here, ρ = 1, α = 0.1, m = 92, and VUS ( ) ̂ =0.9046.

Figure 2
figure 2

Total sample sizes needed for classification to moderately-separated HapMap populations ASW, TSI, and YRI. For the linear classifier based on the SNP data from the three populations, the estimated learning curve gives the required total sample size for different values of the threshold, γ, satisfying VUS ( ) ̂ VUS ( n ) ̂ <γ. Here, ρ = 1, α = 0.1, m = 92, and VUS ( ) ̂ =0.7557.

Figure 3
figure 3

Total sample sizes needed for classification to poorly-separated HapMap populations CHB, JTP, and CHD. For the linear classifier based on the SNP data from the three populations, the estimated learning curve gives the required total sample size for different values of the threshold, γ, satisfying VUS ( ) ̂ VUS ( n ) ̂ <γ. Here, ρ = 1, α = 0.1, m = 92, and VUS ( ) ̂ =0.6178.

Figure 4
figure 4

Total sample sizes needed for classification to majority poorly-separated HapMap populations CHB, JTP, CHD and GIH. For the linear classifier based on the SNP data from the three populations, the estimated learning curve gives the required total sample size for different values of the threshold, γ, satisfying VUS ( ) ̂ VUS ( n ) ̂ <γ. Here, ρ = 1, α = 0.1, m = 92, and VUS ( ) ̂ =0.5580.

For example, if we set γ=0.10 (i.e., VUS ( ) ̂ VU ̂ S(n)<0.10), then in the three population (CEU,GIH, MEX) case, the VUS ( ) ̂ =0.9046 and about 62 observations are required for each class with a total sample size of 186, whereas in the three population (ASW, TSI, YRI) case, the VUS ( ) ̂ =0.7557 and about 150 observations are required for each class with a total sample size of 450. Note that, for γ=0.10, in study (I) the required sample sizes for each population is less than what is currently available, whereas in study (II), we would need 63 and 48 more observations for the populations ASW and TSI, respectively. For the three population (CHB, JPT and CHD) case, if we set γ=0.10 then the VUS ( ) ̂ =0.6178 and about 244 observations are required for each class with a total sample size of 732. Clearly, for study (III) at least 100 more observations are needed for each population (CHB, JPT and CHD) when γ=0.10. Finally, for the four population (CHB, JPT, CHD, GIH) case, setting γ=0.10 yields that the VUS ( ) ̂ =0.5580 and about 279 samples are required for each class with a total sample of 1,116. Once again, at least 150 more observations are needed for each of the four populations when γ=0.10.

The results from the four HapMap studies suggest that the VUS ( ) ̂ value is large and the required total sample size is small when the populations are well-separated [as in study (I)]. Whereas, when the populations are moderately-separated [as in study (II), where the populations ASW and YRI may be similar], the VUS ( ) ̂ value reduces and the required total sample size increases moderately. When the populations are poorly-separated [as in study (III), where all the three populations may be similar], the VUS ( ) ̂ value reduces even further and there is a substantial increase in the required total sample size. Finally, in the four population study, where three of the populations are poorly-separated, once again we see a further reduction in the VUS ( ) ̂ value and a corresponding increase in the required total sample size. Although not reported here, we also considered other well-/moderate-/poorly- separated cases with the HapMap data and observed similar results as the ones reported here.

It is well known in the classification literature that the performance of a classifier depends on how well separated the classes are. Similarly, the studies above involving the HapMap data show that the performance of our sample size determination methodology also depends on the extent of separation between populations. While our methodology provides a formal way of determining an approximate total sample size for each specified value of γ, it is clear from the HapMap data analysis that it is not possible to propose a universal γ value. Nevertheless, if the classes are well-separated or moderately-separated, then we believe that γ=0.10 may be a good choice for many frequently encountered data sets in classification problems.

Discussion

We have built an optimal Bayes classifier and a linear classifier based on coded SNP data from two or more classes. For these classifiers, we have considered the two commonly used scalar performance measures, the Area Under the ROC curve (AUC) and the Volume Under the ROC hyper-Surface (VUS), which allow classifiers to be compared independent of discrimination values. We have illustrated the performance of a sample size determination methodology, which selects the smallest total sample size n such that the criterion VUS ( ) ̂ VUS ( n ) ̂ <γ is satisfied. While the approximations to the VUS (or AUC) obtained here provide the necessary theoretical justification, the simulations and the HapMap data analysis presented here illustrate the practical value of our sample size determination method.

The fact that the HapMap contains data on multiple populations belonging to similar or dissimilar geographical locations enabled us to test the performance of our sample size determination method on three different multi-class scenarios involving well-separated, moderately-separated, and poorly-separated populations. We have shown that the the extent of separation between the populations and the choice of threshold value affect the total sample size required to satisfy the criterion. With regard to the choice of the threshold value γ in other practical contexts, we recommend that the user take into consideration the cost of obtaining more samples and choose an appropriate value of γ that gives an acceptable precision. In other words, if the cost of sampling is affordable then the user may want to sample more to achieve a higher precision (lower γ value) using our classifier; otherwise, the user has to settle for a higher γ value that makes use of all the available samples. We also infer from our HapMap data analysis that a value of VUS ( ) ̂ >0.80 may indicate the extent of separation between the classes. Thus, the value of VUS ( ) ̂ could also give some prior guidance on the choice of γ values, especially in instances where the cost of sampling is a serious concern.

Conclusion

In summary, for multiple classes, we have developed an asymptotic methodology based on AUC or VUS to estimate the learning curve of SNP classifiers. It is shown that the required total sample size can be obtained from the estimated learning curve for each pre-specified threshold value. In classification problems, sample size determination is important due to cost considerations. This methodology will help scientists determine if a sample at hand is adequate or more observations are necessary to achieve a pre-specified accuracy, and thus help users strike an optimal balance between precision and cost.

References

  1. Guzzetta G, Jurman G, Furlanello C: A machine learning pipeline for quantitative phenotype prediction from genotype data. BMC Bioinformatics. 2010, 11 (Suppl 8): S3-10.1186/1471-2105-11-S8-S3.

    Article  PubMed Central  PubMed  Google Scholar 

  2. Lee SH, van der Werf JHJ, Hayes BJ, Goddard ME, Visscher PM: Predicting unobserved phenotypes for complex traits from whole-genome SNP data. Plos Genet. 2008, 4: e1000231-10.1371/journal.pgen.1000231.

    Article  PubMed Central  PubMed  Google Scholar 

  3. Nunkesser R, Bernholt T, Schwender H, Ickstadt K, Wegener I: Detecting high-order interactions of single nucleotide polymorphisms using genetic programming. Bioinformatics. 2007, 23: 3280-3288. 10.1093/bioinformatics/btm522.

    Article  PubMed  CAS  Google Scholar 

  4. Wray NR, Goddard ME, Visscher PM: Prediction of individual genetic risk to disease from genome-wide association studies. Genome Res. 2007, 17: 1520-1528. 10.1101/gr.6665407.

    Article  PubMed Central  PubMed  CAS  Google Scholar 

  5. Zhou N, Wang L: Effective selection of informative SNPs and classification on the HapMap genotype data. BMC Bioinformatics. 2007, 8: 484-492. 10.1186/1471-2105-8-484.

    Article  PubMed Central  PubMed  Google Scholar 

  6. De Valpine P, Bitter HM, Brown MPS, Heller J: A simulation-approximation approach to sample size planning for high-dimensional classification studies. Biostatistics. 2009, 10: 424-435. 10.1093/biostatistics/kxp001.

    Article  PubMed Central  PubMed  Google Scholar 

  7. Dobbin KK, Simon RM: Sample size determination in microarray experiments for class comparison and prognostic classification. Biostatistics. 2005, 6: 27-38. 10.1093/biostatistics/kxh015.

    Article  PubMed  Google Scholar 

  8. Dobbin KK, Simon RM: Sample size planning for developing classifiers using high-dimensional DNA microarray data. Biostatistics. 2007, 8: 101-117. 10.1093/biostatistics/kxj036.

    Article  PubMed  Google Scholar 

  9. Dobbin KK, Zhao Y, Simon RM: How large a training set is needed to develop a classifier for microarray data. Clin Cancer Res. 2008, 14: 108-114. 10.1158/1078-0432.CCR-07-0443.

    Article  PubMed  CAS  Google Scholar 

  10. Mukherjee S, Tamayo P, Rogers S, Rifkin R, Engle A, Campbell C, Golub TR, Mesirov JP: Estimating dataset size requirements for classifying DNA microarray data. J Comput Biol. 2003, 10: 119-142. 10.1089/106652703321825928.

    Article  PubMed  CAS  Google Scholar 

  11. Liu X, Wang Y, Rekhaya R, Sriram TN: Sample size determination for classifiers based on single-nucleotide polymorphisms. Biostatistics. 2012, 13: 217-227. 10.1093/biostatistics/kxr053.

    Article  PubMed  Google Scholar 

  12. Metz C: Basic principles of ROC analysis. Seminars Nucl Med. 1978, 3: 283-298.

    Article  Google Scholar 

  13. Fawcett T: An introduction to ROC analysis. Pattern Recogn Lett. 2005, 27: 861-874.

    Article  Google Scholar 

  14. Landgrebe T, Duin RPW: Approximating the multiclass ROC by pairwise analysis. Pattern Recogn Lett. 2007, 28: 1747-1758. 10.1016/j.patrec.2007.05.001.

    Article  Google Scholar 

  15. Landgrebe T, Paclik P: The ROC skeleton for multiclass ROC estimation. Pattern Recogn Lett. 2010, 31: 949-958. 10.1016/j.patrec.2009.12.037.

    Article  Google Scholar 

Download references

Acknowledgements

We would like to thank the Editor and the two reviewers for their careful reading and insightful suggestions, which greatly improved the content and the presentation of the article. T.N.S. was supported by a grant from the National Security Agency [H98230-11-1-0188] and the National Science Foundation [#1309665].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to TN Sriram.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

XL developed and implemented the proposed model, performed simulation and application, and drafted the manuscript. TNS participated in model development and helped manuscript preparation. YW participated in HapMap data analysis. All authors read and approved the final manuscript.

Electronic supplementary material

Authors’ original submitted files for images

Rights and permissions

Open Access This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, X., Wang, Y. & Sriram, T. Determination of sample size for a multi-class classifier based on single-nucleotide polymorphisms: a volume under the surface approach. BMC Bioinformatics 15, 190 (2014). https://doi.org/10.1186/1471-2105-15-190

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1471-2105-15-190

Keywords