effectsize {metaMA} | R Documentation |
Calculates effect sizes from given t or moderated t statistics
Description
Function not to be used separately.
Usage
effectsize(tstat, ntilde, m)
Arguments
tstat |
Vector of test statistics and effect sizes. |
ntilde |
Proportion factor between a test statistic and its corresponding effect size. |
m |
Number of degrees of freedom. |
Value
Matrix with one row per gene, and in column:
d |
Commonly used effect size (which is biased) |
vard |
Variance of the commonly used effect size |
dprime |
Unbiased effect size |
vardprime |
Variance of the unbiased effect size |
Author(s)
Guillemette Marot with contribution from Ankur Ravinarayana Chakravarthy
References
Marot, G., Foulley, J.-L., Mayer, C.-D., Jaffrezic, F. Moderated effect size combination for microarray meta-analyses and comparison study. Submitted.
Examples
#for SMVar:
#stati$TestStat[order(stati$GeneId)],length(classes[[i]]),stati$DegOfFreedom[order(stati$GeneId)])
#for Limma
#effectsize(fit2i$t,length(classes[[i]]),(fit2i$df.prior+fit2i$df.residual))
[Package metaMA version 3.1.3 Index]