effectsize: Calculates effect sizes from given t or moderated t...

Description Usage Arguments Value Author(s) References Examples

Description

Function not to be used separately.

Usage

1
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

1
2
3
4
#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))


Search within the metaMA package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.