-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
110 lines (80 loc) · 4.12 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# quincunx <img src='man/figures/logo.svg' align="right" height="139" />
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/quincunx)](https://CRAN.R-project.org/package=quincunx)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/license/mit/)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![](https://img.shields.io/badge/doi-10.1093/bioinformatics/btab522-blue.svg)](https://doi.org/10.1093/bioinformatics/btab522)
<!-- badges: end -->
The goal of `{quincunx}` is to provide programmatic access to the [Polygenic
Score (PGS) Catalog](https://www.pgscatalog.org/), an open resource for
[polygenic scores](https://en.wikipedia.org/wiki/Polygenic_score) and associated
metadata describing their development and respective assessment.
Browse the online documentation at
[rmagno.eu/quincunx](https://rmagno.eu/quincunx/) to get started.
## Installation
Install `{quincunx}` from CRAN:
``` r
# Install from CRAN
install.packages("quincunx")
```
You can instead install the development version of `{quincunx}` by setting
[Ramiro Magno’s universe](https://ramiromagno.r-universe.dev/) repository:
``` r
options(repos = c(ramiromagno = 'https://ramiromagno.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))
install.packages('quincunx')
```
## Cheatsheet
<a href="https://github.com/ramiromagno/cheatsheets/blob/master/quincunx/quincunx_cheatsheet.pdf"><img src="https://raw.githubusercontent.com/ramiromagno/cheatsheets/master/quincunx/quincunx_cheatsheet.png" width="615" height="225"/></a>
## Citing this work
`{quincunx}` was published in Bioinformatics in 2021: https://doi.org/10.1093/bioinformatics/btab522.
To generate a citation for this publication from within R:
```{r citation}
citation('quincunx')
```
## Citing PGS Catalog publications
Also, please do not forget to cite the authors behind the original studies and
the papers associated with the PGS Catalog project:
- Lambert, S.A., Gil, L., Jupp, S. et al. The Polygenic Score Catalog as an open
database for reproducibility and systematic evaluation. Nat Genet 53, 420–425
(2021). doi:
[10.1038/s41588-021-00783-5](https://doi.org/10.1038/s41588-021-00783-5)
- Wand, H., Lambert, S.A., Tamburro, C. et al. Improving reporting standards for
polygenic scores in risk prediction studies. Nature 591, 211–219 (2021). doi:
[10.1038/s41586-021-03243-6](https://doi.org/10.1038/s41586-021-03243-6)
## Terms of use
Please note that if you use the data provided by the PGS Catalog either directly
or via `{quincunx}` you agree to abide to the [EMBL-EBI Terms of
Use](https://www.ebi.ac.uk/about/terms-of-use/).
## Code of Conduct
Please note that the `{quincunx`} project is released with a [Contributor Code
of Conduct](https://rmagno.eu/quincunx/CODE_OF_CONDUCT.html). By contributing
to this project, you agree to abide by its terms.
## Acknowledgements
This work would have not been possible without the precious feedback from the
[PGS Catalog team](https://www.pgscatalog.org/), particularly [Samuel
Lambert](https://www.ebi.ac.uk/about/people/samuel-lambert) and [Laurent
Gil](https://www.sanger.ac.uk/person/gil-laurent/).
## Package name and hex sticker
The package name `{quincunx}` is another name for [Galton
Board](https://en.wikipedia.org/wiki/Bean_machine), that so nicely exemplifies
the [Central Limit
Theorem](https://en.wikipedia.org/wiki/Central_limit_theorem), which in turn is
a key concept of genetics, namely, [Fisher’s infinitesimal
model](https://doi.org/10.1016/j.tpb.2017.09.003)... which leads us to Polygenic
Scores, the key concept of the PGS Catalog.
The bird in the hex sticker is a *Porphyrio porphyrio*, an emblematic species
native to the Ria Formosa Natural Park, which is a wildlife reserve surrounding
the University of Algarve, where the authors are affiliated.