Description Usage Arguments Details Value Examples
Generic function to perform standard meta analysis.
1 2 | MBASEDMetaAnalysis(zValuesMat, zVariancesMat, alternative = "two.sided",
checkArgs = FALSE)
|
zValuesMat |
matrix of z-values, on standard normal scale. Each row represents a specific genomic locus, while each column represents a set of observed values across loci (in practice, multiple columns represent different outcomes of simulations). |
zVariancesMat |
matrix of (estimated) variances of each z-value in zValuesMat. The interpretation of rows and columns is the same as for zValuesMat. |
alternative |
one of 'two.sided', 'greater', 'less'. DEFAULT: 'two.sided'. |
checkArgs |
single boolean specifying whether arguments should be checked for adherence to specifications. DEFAULT: FALSE |
MBASEDMetaAnalysis performs meta analysis calculations in a vectorized fashion. Input matrices zValuesMat and zVariancesMat have one column for each set of loci ('independent studies') to be combined, with each row corresponding to an individual locus. MBASEDMetaAnalysis uses meta analysis approach to combine values in each column of zValuesMat into a single column-specific value of z (using corresponding supplied variances to appropriately weight contributions of each individual z). The function reports the resulting averaged z values, together with corresponding standard deviations (standard errors), for fixed-effects setting (note: random effects are not meaningful in the context of SNVs in ASE). If the supplied matrices have a single row (only one locus), no meta-analysis is possible, and the original value and corresponding standard deviations are returned.
a list with 5 elements:
hetPVal |
a 1-row marix of heterogeneity p-values. |
hetQ |
a 1-row matrix of heterogeneity statistics. |
fixedEffectsMeans |
a 1-row matrix of column-specific fixed-effects meta analysis restults. |
fixedEffectsSEs |
a 1-row matrix of estimated SEs of fixed-effects meta analysis results. |
pvalueFixed |
a 1-row matrix of p-values for fixed-effects analysis. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.