-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
75 lines (52 loc) · 2.03 KB
/
README.Rmd
File metadata and controls
75 lines (52 loc) · 2.03 KB
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
---
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%"
)
library(magrittr)
library(dplyr)
```
# brcaClinical <img src='man/figures/logo.svg' align="right" height="139" />
<!-- badges: start -->
[](https://creativecommons.org/licenses/by-sa/4.0/)
[](https://www.cbioportal.org/)
[](https://www.tidyverse.org/lifecycle/#experimental)
<!-- badges: end -->
## Overview
This package contains clinical data from `r nrow(brcaClinical::brca_clinical)` breast cancer studies obtained from [cBioPortal](https://cbioportal.org):
```{r}
library(brcaClinical)
brca_clinical[, c('studyId', 'name')]
```
## Usage
The clinical data for each study can be found at the last column of `brca_clinical`: `clinicalData`.
As an example, to have a glimpse at a few selected variables of the clinical data from the METABRIC project:
```{r}
library(brcaClinical)
metabric_clinical <- brca_clinical$clinicalData$brca_metabric
dplyr::select(metabric_clinical,
patientId,
AGE_AT_DIAGNOSIS,
HISTOLOGICAL_SUBTYPE)
```
## Installation
If you do not have the package `remotes` install it first:
```R
install.packages("remotes")
```
Then install `brcaClinical`:
```R
# Install the package from GitHub
remotes::install_github('maialab/brcaClinical')
```
## Code of Conduct
Please note that the brcaClinical project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
## License
CC BY-SA 4.0, plus see [LICENSE](LICENSE) for the licenses of the
individual data sets.