getspres

SPRE Statistics for Exploring Heterogeneity in Meta-Analysis

https://github.com/magosil86/getspres

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

SPRE Statistics for Exploring Heterogeneity in Meta-Analysis

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 7 years ago · Last pushed about 5 years ago
Metadata Files
Readme License

README.md

Travis-CI Build Status GitHub license GitHub issues CRAN_Status_Badge Coverage status CRAN_Logs_Rstudio <!-- -->

getspres : SPRE Statistics for Exploring Heterogeneity in Meta-Analysis

One useful way of identifying overly influential outlier studies in meta-analyses and their direction of effect is through the calculation of SPRE (standardised predicted random-effects) statistics. SPRE statistics are precision-weighted residuals that capture the direction and extent to which genetic effects of different studies in a meta-analysis deviate from the average genetic effect at a variant of interest. Positive outliers have the potential to inflate average genetic effects in a meta-analysis whilst negative outliers might lower or change the direction of effect.

getspres facilitates calculation of SPRE statistics in R and provides forest plots that show corresponding SPRE statistic values for participating studies in meta-analyses.

An advantage of using the getspres package is that it provides a quantitative and visual view of heterogeneity at individual genetic variants in meta-analyses.

Zoom in on the web browser to get a better view of the images

How are spres calculated?

Consider a GWAS meta-analysis (P), with S GWAS studies (s = 1,2,3,⋯,S) and V independently associated variants (v = 1,2,3,⋯,V). Data for each variant are analyzed using a random-effects model to estimate the average genetic effect and partition the variability in study effect-sizes into random sampling and heterogeneity components. Then, the standardized predicted random effect (SPRE) for the vth variant in the sth study is calculated as:


See the following references for more details:

Harbord, R. M., & Higgins, J. P. T. (2008). Meta-regression in Stata. Stata Journal 8: 493–519.

Magosi LE, Goel A, Hopewell JC, Farrall M, on behalf of the CARDIoGRAMplusC4D Consortium (2017) Identifying systematic heterogeneity patterns in genetic association meta-analysis studies. PLoS Genet 13(5): e1006755. https://doi.org/10.1371/journal.pgen.1006755.


Installation

```{r}

To install the release version from CRAN:

install.packages("getspres")

Load libraries

library(getspres) # for calculating SPRE statistics

To install the development version from GitHub:

install devtools

install.packages("devtools")

install getspres

library(devtools) devtools::install_github("magosil86/getspres")

Load libraries

library(getspres) # for calculating SPRE statistics ```

Usage

Load the getspres package in your current R session, and try some examples in the example workflow

```{r}

Load libraries

library(getspres) # for calculating SPRE statistics `` For an overview of available functions in **_getspres_**, type?getspresand?plotspres` at the R prompt.

Getting help

To suggest a new feature, report a bug or ask for help, please provide a reproducible example at: https://github.com/magosil86/getspres/issues. Also see reprex to learn more about generating reproducible examples.

References

Lerato E Magosi, Anuj Goel, Jemma C Hopewell, Martin Farrall, on behalf of the CARDIoGRAMplusC4D Consortium, Identifying small-effect genetic associations overlooked by the conventional fixed-effect model in a large-scale meta-analysis of coronary artery disease, Bioinformatics, , btz590, https://doi-org.ezp-prod1.hul.harvard.edu/10.1093/bioinformatics/btz590

Harbord, R. M., & Higgins, J. P. T. (2008). Meta-regression in Stata. Stata Journal 8: 493–519.

Wolfgang Viechtbauer (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1-48. URL http://www.jstatsoft.org/v36/i03/.

Magosi LE, Goel A, Hopewell JC, Farrall M, on behalf of the CARDIoGRAMplusC4D Consortium (2017) Identifying systematic heterogeneity patterns in genetic association meta-analysis studies. PLoS Genet 13(5): e1006755. https://doi.org/10.1371/journal.pgen.1006755.

Authors

Lerato E. Magosi ORCID, Jemma C. Hopewell and Martin Farrall ORCID

Maintainer

Lerato E. Magosi lmagosi@well.ox.ac.uk or magosil86@gmail.com

Citation

Lerato E Magosi, Jemma C Hopewell and Martin Farrall (2018). getspres: SPRE Statistics for Exploring Heterogeneity in Meta-Analysis. R package version 0.1.0.9000. https://magosil86.github.io/getspres/

Code of conduct

Contributions are welcome. Please observe the Contributor Code of Conduct when participating in this project.

License

MIT + file License.

Owner

  • Login: magosil86
  • Kind: user
  • Location: Oxford
  • Company: University of Oxford

GitHub Events

Total
Last Year

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 90
  • Total Committers: 1
  • Avg Commits per committer: 90.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
magosil86 m****6@g****m 90

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 4
  • Total pull requests: 0
  • Average time to close issues: 4 days
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • magosil86 (4)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 261 last-month
  • Total docker downloads: 41,971
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: getspres

SPRE Statistics for Exploring Heterogeneity in Meta-Analysis

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 261 Last month
  • Docker Downloads: 41,971
Rankings
Forks count: 28.8%
Dependent packages count: 29.8%
Stargazers count: 35.2%
Dependent repos count: 35.5%
Average: 36.1%
Downloads: 51.5%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.1.0 depends
  • RColorBrewer >= 1.1 imports
  • colorRamps >= 2.3 imports
  • colorspace >= 1.2 imports
  • dplyr >= 0.4.1 imports
  • metafor >= 1.9 imports
  • plotrix >= 3.5 imports
  • covr * suggests
  • knitr >= 1.10.5 suggests
  • rmarkdown * suggests
  • testthat * suggests