View source: R/heterogeneityTest.R
heterogeneityTest | R Documentation |
Shows a QQ-plot of the Cochran's test and the quantiles of I^2 statistic values to mesuare heterogeneity
heterogeneityTest(objectMA, probs = c(0, 0.25, 0.5, 0.75))
objectMA |
A list of list. Each list contains two elements. The first element is the expression matrix (genes in rows and sample in columns) and the second element is a vector of zeros and ones that represents the state of the different samples of the expression matrix. 0 represents one group (controls) and 1 represents the other group (cases). The result of the CreateobjectMA can be used too. |
probs |
Numeric vector of probabilities with values between 0 and 1. It indicates the I^2 quantiles that will be returned |
If in the QQ-plot of the Cochran’s test most of the values are close to the central line (most of the Cochran’s test values are close to the expected distribution), it can be said that there is homogeneity. In the case that these values deviate greatly from the expected distribution, it must be assumed that there is heterogeneity. I^2 measures the percentage of variation across studies due to heterogeneity. To assume homogeneity in the gene expression meta-analysis, almost all I^2 values (quantiles) must be 0 or at least less than 0.25.
Quantiles of the I^2 values
Juan Antonio Villatoro Garcia, juanantoniovillatorogarcia@gmail.com
Higgins JPT, Thompson SG. Quantifying heterogeneity in a meta-analysis. Stat Med 2002;21:1539–58.
Higgins JPT, Thompson SG, Deeks JJ, et al. Measuring inconsistency in meta-analyses. BMJ 2003;327:557–60.
createObjectMA
data(DExMAExampleData)
heterogeneityTest(maObject)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.