- Methodology Article
- Open Access
- Published:

# Testing for association between RNA-Seq and high-dimensional data

*BMC Bioinformatics*
**volume 17**, Article number: 118 (2016)

## Abstract

### Background

Testing for association between RNA-Seq and other genomic data is challenging due to high variability of the former and high dimensionality of the latter.

### Results

Using the negative binomial distribution and a random-effects model, we develop an omnibus test that overcomes both difficulties. It may be conceptualised as a test of overall significance in regression analysis, where the response variable is overdispersed and the number of explanatory variables exceeds the sample size.

### Conclusions

The proposed test can detect genetic and epigenetic alterations that affect gene expression. It can examine complex regulatory mechanisms of gene expression. The R package *globalSeq* is available from Bioconductor.

## Background

Genetic and epigenetic factors contribute to the regulation of gene expression. A better understanding of these regulatory mechanisms is an important step in the fight against cancer. Of interest are genetic alterations such as single nucleotide polymorphisms (SNPs), copy-number variations (CNVs) and loss of heterozygosity (LOH), as well as epigenetic alterations such as DNA methylation, microRNA expression levels and histone modifications.

From a statistical perspective, it makes sense to represent the expression of one gene as a response variable that changes when some covariates are altered. As a starting point, we assume that all covariates come from a single genetic or epigenetic molecular profile. Typically, more covariates are of interest than there are samples.

A plethora of methods for the analysis of gene expression and covariates has emerged in the last years. Many of these methods test each covariate individually, and subsequently correct for multiple testing or rank the covariates by significance. An alternative approach is the global test from Goeman et al. [1]. The global test does not test the individual but the joint significance of covariates. It allows for high dimensionality, reduces the multiple testing burden, and successfully detects small effects that encompass many covariates. Due to its desirable properties, the global test has become a widely used tool in genomics (e.g. [2–4]).

Currently, gene expression microarrays are being supplanted by high-throughput sequencing. The negative binomial distribution seems to be a sensible choice for modelling RNA sequencing data [5, 6]. One of its parameters describes the dispersion of the variable. If this parameter is unknown, the negative binomial distribution is not in the exponential family. As the global test from Goeman et al. [1] is limited in its current form to the exponential family of distributions, a new test is needed for RNA-Seq data. We will provide here such a test.

After proposing a global test for the negative binomial setting, we perform a simulation study, and analyse two publicly available datasets. The first application concentrates on method validation, overdispersion, and individual contributions. The second application concentrates on robustness against multicollinearity, the method of control variables, and the simultaneous analysis of multiple molecular profiles.

Although we focus on RNA-Seq gene expression data, the test developed here is applicable whenever associations between a count variable and large sets of quantitative or binary variables are of interest. In essence, it can be applied to any other type of sequencing data, such as ChIP-Seq (chromatin immunoprecipitation), microRNA-Seq or meth-Seq (methylation).

## Methods

### The random-effects model

The human genome contains several thousand protein-coding genes. In the following, only one gene is considered at a time. Accordingly, the expression of one gene across all samples is our response variable ** y**=(

*y*

_{1},…,

*y*

_{ n })

^{T}. If we were interested whether a given subset of SNPs affected gene expression, these SNPs would be our

*p*covariates. The

*n*×

*p*covariate matrix

**is potentially high-dimensional (**

*X**p*≫

*n*).

We represent the relationship between the response and the covariates using the generalised linear model framework from McCullagh and Nelder [7]:

where *h*
^{−1} is an inverse link function, *α* is the unknown intercept, *X*
_{
ij
} is the entry in the *i*
^{th} row and *j*
^{th} column of ** X**, and

*β*

_{1},…,

*β*

_{ p }are the unknown regression coefficients. This model holds for all samples

*i*(

*i*=1,…,

*n*).

We are interested in testing the joint significance of all regression coefficients. This is challenging because the regression coefficients cannot be estimated by classical regression methods if there are more covariates than samples. Goeman et al. [1] took a novel approach for testing *H*
_{0}:*β*
_{1}=…=*β*
_{
p
}=0 against *H*
_{1}:*β*
_{1}≠0∪…∪*β*
_{
p
}≠0. The decisive step from Goeman et al. [1] was to assume ** β**=(

*β*

_{1},…,

*β*

_{ p })

^{T}to be random, with the expected value E[

**]=**

*β***and the variance-covariance matrix Var[**

*0***]=**

*β**τ*

^{2}

**, where**

*I***is the**

*I**p*×

*p*identity matrix and

*τ*

^{2}≥0. Then a random-effects model is obtained:

This random-effects model allows to rephrase the null and the alternative hypotheses. Defining the random vector ** r**=(

*r*

_{1},…,

*r*

_{ n })

^{T}, it can be deduced that E[

**]=**

*r***and Var[**

*0***]=**

*r**τ*

^{2}

*X*

*X*^{T}. Now the null hypothesis of no association between the covariate group and the response is given by

*H*

_{0}:

*τ*

^{2}=0. To construct a score test against the one-sided alternative hypothesis

*H*

_{1}:

*τ*

^{2}>0, we need to assume a distribution for

*y*

_{ i }|

*r*

_{ i }.

### The testing procedure

We assume the negative binomial distribution *y*
_{
i
}|*r*
_{
i
}∼NB(*μ*
_{
i
},*ϕ*), where the mean parameter *μ*
_{
i
} depends on the sample, but the dispersion parameter *ϕ* does not. We parametrise the negative binomial distribution such that E[*y*
_{
i
}|*r*
_{
i
}]=*μ*
_{
i
} and \(\text {Var}[y_{i} | r_{i}]=\mu _{i}+\phi {\mu _{i}^{2}}\). Its density function is given by

Various link functions come into consideration for the negative binomial model. We favour the logarithmic link in order to relate the negative binomial model directly to the Poisson model (see below). As library sizes can be unequal, we include the offset \(\log (m_{i} / \overline {m})\), where *m*
_{
i
} denotes the library sizes, and \(\overline {m}\) their *geometric* mean. Thus the mean function becomes

When *τ*
^{2} is close to zero, the score test is the most powerful test of the null hypothesis *H*
_{0}:*τ*
^{2}=0 against the alternative hypothesis *H*
_{0}:*τ*
^{2}>0 [8]. Here the score function is the first derivative of the logarithmic marginal likelihood with respect to *τ*
^{2}. Intuitively, if the marginal likelihood reacts sensitively to changes in *τ*
^{2} close to 0, there is evidence against *τ*
^{2}=0. Using results from le Cessie and van Houwelingen [9], we show in the Additional file 1 how to calculate the score function. This function contains the unknown parameters *α* and *ϕ*, but they can be estimated by maximum likelihood. Replacing the unknown parameters by their estimates leads to the test statistic

where *R*
_{
ij
} is the entry in the *i*
^{th} row and *j*
^{th} column of the *n*×*n* matrix ** R**=(1/

*p*)

*X*

*X*^{T}, and \(\hat {\mu }_{0,i}=(m_{i} / \overline {m}) \exp (\hat {\alpha })\) is the estimated mean under the null hypothesis. For simplicity we always write \(\hat {\mu }_{i}\) instead of \(\hat {\mu }_{0,i}\). In the Additional file 1 the test statistic is rewritten in matrix notation.

Statistical hypothesis testing depends on the null distribution of the test statistic *u*
_{
nb
}, which is unknown. We will obtain *p*-values by permuting the response ** y**=(

*y*

_{1},…,

*y*

_{ n })

^{T}together with the mean \(\boldsymbol {\hat {\mu }}=(\hat {\mu }_{1},\ldots,\hat {\mu }_{n})^{T}\). Since this is a one-sided test [10], if the observed test statistic is larger than most of the test statistics obtained by permutation, there is evidence against the null hypothesis.

As we are not using a parametric form for the null distribution of the test statistic, no adjustments for the estimation of *α* and *ϕ* are necessary. Furthermore, maximum likelihood estimation does not depend on the order of the elements in ** y**=(

*y*

_{1},…,

*y*

_{ n })

^{T}. Because neither \(\hat {\alpha }\) nor \(\hat {\phi }\) vary under permutation, computational efficiency can be achieved with these parameters as given.

When testing for associations between RNA-Seq data and another molecular profile, numerous genes might be of interest. Because one test is performed per gene, the multiple testing problem reappears. (In the applications from below we omit multiple testing correction when analysing the distribution of *p*-values.)

### Relation to the poisson model

For comparison we also consider the Poisson distribution *y*
_{
i
}|*r*
_{
i
}∼Pois(*μ*
_{
i
}) with E[*y*
_{
i
}|*r*
_{
i
}]=Var[*y*
_{
i
}|*r*
_{
i
}]=*μ*
_{
i
} and a logarithmic link function. Proceeding as above we obtain the test statistic

where the estimates \(\hat {\mu }_{i}\) are the same as in the negative binomial model.

In the case of \(\hat {\phi }\boldsymbol {\hat {\mu }} = \boldsymbol {0}\) we would have *u*
_{
nb
}=*u*
_{
pois
}, but in practice only situations with \(\boldsymbol {\hat {\mu }}>\boldsymbol {0}\) are of interest. The fact that \(\hat {\phi } = 0\) implies *u*
_{
nb
}=*u*
_{
pois
} is convenient since a negative binomial distribution with a dispersion parameter close to zero is practically equivalent to a Poisson distribution.

### Individual contributions

Following Goeman et al. [1], the test statistic *u*
_{
nb
} can be rewritten to reveal the influence of individual samples and covariates.

The contribution of sample *i* (*i*=1,…,*n*) to the test statistic is

If *s*
_{
i
} is positive, the sample *i* increases the evidence against the null hypothesis. Though, *s*
_{
i
} not only depends on the sample *i*, but through ** R**, \(\boldsymbol {\hat {\mu }}\) and \(\hat {\phi }\) also on the other samples.

Especially useful is the contribution of covariate *j* (*j*=1,…,*p*) to the test statistic:

Note that multiplying *c*
_{
j
} by *p* gives the *u*
_{
nb
} that would have been obtained if only the covariate *j* had been tested. Similar to Goeman et al. [1], the test statistic for a group of covariates is the average of the individual test statistics. If *c*
_{
j
} is positive, the covariate *j* increases the evidence against the null hypothesis. Conveniently, *c*
_{
j
} is independent of all other covariates.

By construction we have \(u_{nb}={\sum \nolimits }_{i=1}^{n}s_{i}\) and \(u_{nb}={\sum \nolimits }_{j=1}^{p} c_{j}\). Even though a single hypothesis is tested on the covariate group, these decompositions allow to determine which samples and which covariates are the most influential on the test result. If samples or covariates can be put into categories, decomposing the test statistic and grouping samples by category could visualise how each category contributes to the test results. Similarly, if samples or covariates can be ordered according to some genomic or phenomic criteria, patterns might be detected.

### Method of control variables

One drawback of obtaining *p*-values via permutation is the computational burden. Here we will make use of the work from Senchaudhuri et al. [11] in order to estimate *p*-values efficiently.

The proposed test statistic and the test statistic from Goeman el al. [1] have different advantages: whereas the former adequately models overdispersed count data, the latter has a known asymptotic null distribution. Usually we would obtain an unbiased estimate of the *p*-value using \(1/k \sum _{i=1}^{k} \boldsymbol {1}[u_{i} \geq u_{0}]\), where ** 1** is the indicator function and

*u*

_{ i }represents the proposed test statistic for a permutation (

*i*=1,...,

*k*) or for the observed data (

*i*=0). Following Senchaudhuri et al. [11], we could also obtain an unbiased estimate using \(1/k \sum _{i=1}^{k} \boldsymbol {1}[u_{i} \geq u_{0}] - \boldsymbol {1}[q_{i} \geq q_{0}] + p^{*}\), where

*q*

_{ i }and

*p*

^{∗}are the test statistic and asymptotic value, respectively, from Goeman et al. [1]. If the test statistics

*u*

_{ i }and

*q*

_{ i }have a strong positive correlation, then this alternative estimate is preciser than the usual estimate [11]. (In the applications from below we only use the method of control variables when explicitly stated.)

### Multiple molecular profiles

Not only SNPs but also other molecular mechanisms regulate gene expression. For instance, aberrant DNA methylation levels in promoter regions can activate oncogenes and inactivate tumour suppressor genes. Thus it could be interesting to test for associations between RNA-Seq gene expression data on one hand, and on the other SNP data as well as methylation data.

Let ** X** represent the

*n*×

*p*SNP data matrix, and let

**represent the**

*Z**n*×

*q*methylation data matrix. The model from Eq. 1 allows to test single covariate sets, leading to the test statistic

*u*

_{ nb }=

*u*(

**) for SNP data, and to the test statistic**

*X**u*

_{ nb }=

*u*(

**) for methylation data.**

*Z*Menezes et al. [12] provided a test for analysing multiple molecular profiles simultaneously, for responses with a distribution in the exponential family. As the negative binomial distribution with an unknown dispersion parameter is not in the exponential family, we have to adapt this test. Following Menezes et al. [12], we include a second covariate set in the random-effects model from Eq. 1:

Using the ideas and the notation from above: for the random vectors ** β**=(

*β*

_{1},…,

*β*

_{ p })

^{T}and

**=(**

*γ**γ*

_{1},…,

*γ*

_{ q })

^{T}we assume E[

**]=E[**

*β***]=0, Var[**

*γ***]=**

*β**τ*

^{2}

**, Var[**

*I***]=**

*γ**υ*

^{2}

**and Cov[**

*I***,**

*β***]=0, where**

*γ**τ*

^{2}≥0 and

*υ*

^{2}≥0. Consequently, the random vector

**=(**

*r**r*

_{1},…,

*r*

_{ n })

^{T}has E[

**]=**

*r***and Var[**

*0***]=**

*r**τ*

^{2}

*X*

*X*^{T}+

*υ*

^{2}

*Z*

*Z*^{T}. The joint test of both covariate sets is described by

Menezes et al. [12] showed that ignoring the correlation between the individual test statistics entails little loss of power, and proposed to use the sum of the individual test statistic as a joint test statistic. As mean and variance of the individual test statistics should be brought onto the same scales [12], our joint test statistic is

Permuting as above, we estimate the first two central moments of *u*(** X**) and

*u*(

**) under the null hypothesis, and calculate a**

*Z**p*-value for the joint test. Note that this framework can be extended to an arbitrary number of covariate sets. Under

*k*covariate sets the joint test statistic is the standardised sum of

*k*individual test statistics.

## Results

### Simulation study

We perform a simulation in order to study the power of the proposed test in various circumstances. Instead of randomly generating covariates, we extract a *n*×*p* covariate matrix ** X** from the HapMap data (see below) at a random position. This maintains the correlation structure between SNPs, and thereby ensures a realistic noise level. Initially we set all coefficients in

**=(**

*β**β*

_{1},…,

*β*

_{ p })

^{T}equal to zero. Then we randomly select a subset of

*r*consecutive coefficients, and assign with the probabilities 80

*%*and 20

*%*the values

*s*and 2

*s*to them, where

*s*is the effect size. Using the relation

**=**

*μ*

*X***, we calculate the mean vector**

*β***=(**

*μ**μ*

_{1},…,

*μ*

_{ n })

^{T}, and simulate the response vector

**=(**

*y**y*

_{1},…,

*y*

_{ n })

^{T}under the distributional assumption

*y*

_{ i }∼NB(

*μ*

_{ i },

*ϕ*). This procedure ensures that

**and**

*y***are associated. If we wanted to obtain comparable data under the null hypothesis, we would shuffle the elements in**

*X***. In either case it is of interest how much evidence the proposed test finds for an association between**

*μ***and**

*y***.**

*X*After simulating numerous response vectors independently and identically, we calculate the specificity and sensitivity of the proposed test at various significance levels, and visualise their relation in a ROC curve. All other things being held equal, we either vary the dispersion parameter *ϕ*, the sample size *n*, the effect size *s*, or the number of non-zero coefficients *r*. In the last case we do not select another subset of coefficients, but shorten or lengthen the original subset. It is reassuring that the area under the curve changes in the expected directions (see Figure A in the Additional file 1) and that the type I error rates are maintained (see Table A in the Additional file 1).

A slight modification of this simulation study allows to compare the statistical power between testing all covariates at once and testing them one by one. For this we extract various covariate matrices ** X** from the HapMap data, and let the coefficient vector

**exclusively take non-zero values. For each covariate matrix**

*β***we simulate one response vector**

*X***under the alternative hypothesis. Using the proposed test, we test the joint as well as the individual significance of the**

*y**p*covariates. Subsequently, we compare the joint

*p*-value with the minimum of the FDR-corrected individual

*p*-values (false discovery rate correction). In our setting with many small effects, joint testing is more powerful than individual testing (see Table B in the Additional file 1). Note that this might not hold in situations with fewer or stronger effects.

### Application: HapMap

Here we verify that the proposed test finds biologically meaningful signals, examine whether overdispersion is present, and measure the influence of covariates and samples.

We use the datasets from Montgomery et al. [13] and Pickrell et al. [14] that were made available in a preprocessed form by Frazee et al. [15]. They include RNA-Seq gene expression data for 59 individuals from the population “Utah residents with ancestry from northern and western Europe” (CEU) and 69 individuals from the population “Yoruba in Ibadan, Nigeria” (YRI). Excluding genes outside the 22 autosomes, without any variation within the sample, or without annotations, 11 700 genes are left. For each individual, SNP data is obtained from the International HapMap Consortium [16]. Throughout this application we use the term SNP to designate the number of minor alleles per locus (0, 1 or 2), considered quantitatively.

### Stratified permutation test

Considering one gene at a time, its expression level over all individuals is used as a response vector, and the SNPs in the neighbouring region are used as a covariate matrix. The aim is to detect regions where causal SNPs might be. To be precise, we test each of the 11 700 gene expression vectors for associations with the respective SNPs that are within a window of ± 1 000 base pairs around the gene. This window size leads to *p*>*n* for approximately 13 *%* of the genes, with a maximum of *p*=5 152. Under the null hypothesis of no association between gene expression and local SNPs, the *p*-values would follow a uniform distribution.

Each sample either belongs to the population CEU or to the population YRI, and we account for this grouping by restricting permutations to keeping samples within the same population. As the distribution of *p*-values is weakly positively skewed, the overall evidence against the null hypotheses is small (see Figure B in the Additional file 1). Only 40 genes reach the minimal *p*-value given by the reciprocal of the number of permutations (see Table C in the Additional file 1). As in Hulse and Cai [17], we find some genes in the major histocompatibility complex family to be associated with nearby SNPs. Our results display good overlap with the examined results from Lappalainen et al. [18] (see Figure C in the Additional file 1), leading us to conclude that the proposed test identifies biologically meaningful signals.

### Presence of overdispersion

The reliability of the global test depends on how well the underlying distribution of RNA-Seq gene expression data is approximated. We are interested whether this dataset requires a model with an offset as well as an dispersion parameter, or whether a simpler model would be sufficient.

Fitting under the null hypothesis of no association between gene expression and local SNPs, we observe that the Poisson distribution without an offset has a poor fit, and that including an offset for different library sizes or using the negative binomial distribution improves the fit (see Figure D in the Additional file 1).

In this example the Poisson model with an offset seems to fit almost equally well to the data as the negative binomial with or without an offset. This might be caused by genetic homogeneity within populations or by the absence of diseases. In cancer datasets we expect a much higher variability between individuals (see below).

### Individual contributions

For each of the 11 700 tests (one test per gene), the test statistic can be decomposed to show the contribution of individual samples or covariates (Eqs. 5 and 6). By construction these contributions can be positive or negative, but the same holds for their expected values under the null hypothesis. We select two tests (i.e. genes) in order to illustrate these decompositions.

For gene *HLA-DQA2*, most covariates have a larger influence than expected under the null hypothesis (Fig. 1). This suggests that several SNPs might be associated with the expression of the gene. Indeed, if they are tested individually using 10 000 permutations, almost half of them obtain the minimal *p*-value of 0.0001.

For gene *CIRBP*, the samples from the population CEU tend to contribute positively to the test statistic, whereas those from the population YRI tend to have negative contributions (Fig. 2). Accordingly, the ordinary permutation test would give a much smaller *p*-value than the stratified permutation test (0.001 versus 0.065). In the case of gene *CIRBP* we cannot detect any sample with an extreme contribution to the test statistic.

### Application: TCGA

In this application we illustrate that the proposed test is robust against multicollinearity of the covariates, apply the method of control variables, and test for association with multiple covariate sets simultaneously.

We use a dataset on prostate cancer from TCGA et al. [19]. It includes expression levels of 17 678 genes, DNA methylation levels at 482 486 sites, and DNA copy numbers measured at 30 000 locations for 162 individuals. Section B in the Additional file 1 gives further information about this dataset, including preprocessing. Examining some randomly selected genes, it becomes clear that the Poisson distribution fits badly, but the negative binomial distribution with a free dispersion parameter fits well to the gene expression data (see Figure E in the Additional file 1). Given that the RNA-Seq data has been adjusted for different library sizes, we do not use an offset.

### Robustness to multicollinearity

McCarthy, Chen and Smyth [20] developed a test of differential expression between conditions defined by one or more covariates. Taking the design matrix into account when estimating the dispersion parameters, this generalised linear model likelihood-ratio test is powerful for testing small numbers of covariates jointly. However, as in all regression models, multicollinearity may have undesirable consequences.

When testing for associations between gene expression and local genetic or epigenetic variations, high-dimensional situations can occur. Then the likelihood-ratio test breaks down due to singularity, but the global test is still applicable.

But also in low-dimensional situations perfect multicollinearity poses a practical problem. For example, copy number data has a relatively high chance of being perfectly multicollinear, because it correlates highly between locations. If we wanted to apply the likelihood-ratio test nonetheless, we would have to drop some covariates. In contrast, the global test exploits this correlation.

### Method of control variables

Here we compare the method of control variables with the crude permutation test, based upon randomly selected genes. Testing the expression of each gene for associations with copy numbers that are within 1 000 000 base pairs around the gene, we estimate the precision of the estimated *p*-values by repeating each permutation test many times. The precision of the estimated *p*-values not only increases with the number of permutations, but according to Table 1 also when switching from the crude permutation test to the method of control variables. For the genes (i.e. tests) in Table 1 the correlation between the two test statistics is sufficiently strong to make this happen, but this is not necessarily true for all genes. However, also in the application HapMap this improvement occurs at all randomly selected genes (see Table D in the Additional file 1). Before deciding between the two methods, we advise to estimate the precision analytically [11].

### Multiple molecular profiles

Several molecular mechanisms are believed to have an impact on gene expression. In the following, the simultaneous analysis from Eqs. 7 and 8 is applied to chromosome 1. We test for associations between RNA-Seq gene expression data on one hand, and on the other methylation values within ± 50 000 base pairs, or copy numbers within ± 2 000 000 base pairs around the start location of the gene. To make the comparison meaningful, the same 1 000 permutations are used for the individual tests and the joint test.

Figure 3 shows: (1) the evidence against null hypotheses is stronger for methylations than for copy numbers; (2) testing methylations and copy numbers jointly leads to an increase in power compared to testing only copy numbers or only methylations; (3) the joint *p*-values are strongly correlated with both sets of individual *p*-values.

Because window sizes are arbitrary, great care is required for biological interpretations of (1). However, (2) and (3) imply that the joint test adds some information to the individual tests. Indeed, in 13 *%* of the cases the joint test gives smaller *p*-values than both individual tests (Fig. 4). This illustrates the fact that the joint test finds effects that are missed by *both* individual tests. At a false discovery rate of 5 *%*, Table E in the Additional file 1 lists all genes that are insignificant in both individual tests but significant in the joint test. Extreme examples are the genes *CNKSR1*, *ZNHIT6*, *TMEM56*, *PRPF38B*, and *SLC39A1*, where both individual *p*-values are larger than 0.005, but the joint *p*-values are equal to 0.001. Among these genes, *ZNHIT6* and *SLC39A1* have been linked to prostate or breast cancer [21].

## Discussion

We have proposed a test for association between RNA-Seq data and other molecular profiles. By virtue of the negative binomial distribution, we have accounted for overdispersion in the RNA-Seq data. And owing to a random-effects model, we have allowed for the high dimensionality of the other molecular profiles. Varying library sizes are naturally dealt with by an offset in the model.

We applied the proposed test to detect regulatory mechanisms of gene expression. Thereby we illustrated some of its advantages: (1) stratified permutation allows to account for simple groupings; (2) if overdispersion is absent, the proposed test is equivalent to the one based on the Poisson distribution; (3) the test statistic can be decomposed to show the influence of covariates or samples; (4) the test is applicable in presence of multicollinearity; (5) an extension allows to analyse multiple covariate sets simultaneously.

We use simple offsets and dispersion estimates, but more sophisticated results can easily be integrated into the proposed test. In this regard, sharing information on overdispersion would probably improve the performance of the test under small sample sizes.

The proposed test is based on permutations. Due to the lower multiple testing burden, testing the joint significance of covariates requires much less permutations than testing their individual significance. Even though the computation time for a single test is usually much shorter than one second, genome-wide analyses can be computationally expensive. Running several processes in parallel and interrupting permutation when it becomes impossible to reach a predefined significance level [22] reduces the computation time of a genome-wide analysis to a couple of minutes. If expressions for the mean and the variance of the test statistic were obtained, it would be possible to approximate its null distribution without using permutations. This would allow to obtain significant *p*-values under small sample sizes, and lead to a drastic reduction of computation time. An alternative way of achieving precision as well as speed is the discussed method of control variables.

## Conclusions

We have proposed a powerful test for finding eQTL effects based upon RNA-Seq data. It can be computed efficiently and is able to handle sets of highly correlated covariates.

## Software

The R package *globalSeq* runs on any operating system equipped with R-3.3.0 or later. It is available from Bioconductor under a free software license: http://bioconductor.org/packages/globalSeq/.

## References

- 1
Goeman JJ, van de Geer SA, de Kort F, van Houwelingen HC. A global test for groups of genes: testing association with a clinical outcome. Bioinformatics. 2004; 20:93–99.

- 2
Smid M, Wang Y, Zhang Y, Sieuwerts AM, Yu J, Klijn JG, et al.Subtypes of breast cancer show preferential site of relapse. Cancer Res. 2008; 68:3108–14.

- 3
Sanchez-Carbayo M, Socci ND, Lozano J, Saint F, Cordon-Cardo C. Defining molecular profiles of poor outcome in patients with invasive bladder cancer using oligonucleotide microarrays. J Clin Oncol. 2006; 24:778–89.

- 4
Roehle A, Hoefig KP, Repsilber D, Thorns C, Ziepert M, Wesche KO, et al.MicroRNA signatures characterize diffuse large B-cell lymphomas and follicular lymphomas. Br J Haematol. 2008; 142:732–44.

- 5
Anders S, Huber W. Differential expression analysis for sequence count data. Genome Biol. 2010; 11:R106.

- 6
Robinson MD, McCarthy DJ, Smyth GK. edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics. 2010; 26:139–40.

- 7
McCullagh P, Nelder JA. Generalized linear models, 2nd ed. London: Chapman and Hall; 1989.

- 8
Goeman JJ, van de Geer SA, van Houwelingen HC. Testing against a high dimensional alternative. J R Stat Soc Ser B Stat Methodol. 2006; 68:477–93.

- 9
le Cessie S, van Houwelingen HC. Testing the fit of a regression model via score tests in random effects models. Biometrics. 1995; 51:600–14.

- 10
Verbeke G, Molenberghs G. The use of score tests for inference on variance components. Biometrics. 2003; 59:254–62.

- 11
Senchaudhuri P, Mehta CR, Patel NR. Estimating exact p values by the method of control variates or Monte Carlo rescue. J Am Stat Assoc. 1995; 90:640–8.

- 12
Menezes RX, Mohammadi L, Goeman JJ, Boer J. Analysing multiple types of molecular profiles simultaneously: connecting the needles in the haystack. BMC Bioinformatics. 2016; 17:77.

- 13
Montgomery SB, Sammeth M, Gutierrez-Arcelus M, Lach RP, Ingle C, Nisbett J, et al.Transcriptome genetics using second generation sequencing in a Caucasian population. Nature. 2010; 464:773–7.

- 14
Pickrell JK, Marioni JC, Pai AA, Degner JF, Engelhardt BE, Nkadori E, et al.Understanding mechanisms underlying human gene expression variation with RNA sequencing. Nature. 2010; 464:768–72.

- 15
Frazee AC, Langmead B, Leek JT. ReCount: A multi-experiment resource of analysis-ready RNA-seq gene count datasets. BMC Bioinformatics. 2011; 12:449.

- 16
The International HapMap Consortium. The international HapMap project. Nature. 2003; 426:789–96.

- 17
Hulse AM, Cai JJ. Genetic variants contribute to gene expression variability in humans. Genetics. 2013; 193:95–108.

- 18
Lappalainen T, Sammeth M, Friedländer MR, ’t Hoen PA, Monlong J, Rivas MA, et al.Transcriptome and genome sequencing uncovers functional variation in humans. Nature. 2013; 501:506–11.

- 19
The Cancer Genome Atlas Research Network, Weinstein JN, Collisson EA, Mills GB, Shaw KRM, Ozenberger BA, et al.The Cancer Genome Atlas Pan-Cancer analysis project. Nat Genet. 2013; 45:1113–20.

- 20
McCarthy DJ, Chen Y, Smyth GK. Differential expression analysis of multifactor RNA-Seq experiments with respect to biological variation. Nucleic Acids Res. 2012; 40:4288–97.

- 21
Rebhan M, Chalifa-Caspi V, Prilusky J, Lancet D. GeneCards: integrating information about genes, proteins and diseases. Trends Genet. 1997; 13:163.

- 22
van Wieringen WN, van de Wiel MA, van der Vaart AW. A test for partial differential expression. J Am Stat Assoc. 2008; 103:1039–49.

## Acknowledgements

We are grateful to J. J. Goeman for helpful discussions, and to two anonymous reviewers for constructive criticism. We also acknowledge the use of data produced by The Cancer Genome Atlas (TCGA) Research Network to illustrate methods introduced in this work. This research was funded by the Department of Epidemiology and Biostatistics, VU University Medical Center.

## Author information

### Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

### Authors’ contributions

Using ideas from MAJ, MAvdW and RXM, AR developed the method and drafted the manuscript. MAJ, MAvdW and RXM revised the manuscript critically. All authors read and approved the final manuscript.

## Additional file

### Additional file 1

**Appendix.** Mathematical details, supplementary plots and information on reproducibility. (PDF 487 kb)

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver(http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.

## About this article

### Cite this article

Rauschenberger, A., Jonker, M.A., van de Wiel, M.A. *et al.* Testing for association between RNA-Seq and high-dimensional data.
*BMC Bioinformatics* **17, **118 (2016). https://doi.org/10.1186/s12859-016-0961-5

Received:

Accepted:

Published:

### Keywords

- High-dimensional
- Overdispersion
- Negative binomial
- Global test
- Integration
- RNA-Seq