getspres
SPRE Statistics for Exploring Heterogeneity in Meta-Analysis
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
Repository
SPRE Statistics for Exploring Heterogeneity in Meta-Analysis
Basic Info
- Host: GitHub
- Owner: magosil86
- License: other
- Language: R
- Default Branch: master
- Homepage: https://magosil86.github.io/getspres/
- Size: 9.81 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
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 , Jemma C. Hopewell and
Martin Farrall
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
Owner
- Login: magosil86
- Kind: user
- Location: Oxford
- Company: University of Oxford
- Repositories: 37
- Profile: https://github.com/magosil86
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 | 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
- Homepage: https://magosil86.github.io/getspres/
- Documentation: http://cran.r-project.org/web/packages/getspres/getspres.pdf
- License: MIT + file LICENSE
-
Latest release: 0.2.0
published about 5 years ago
Rankings
Maintainers (1)
Dependencies
- 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
-->
