clinicalomicsdbR
R package for interfacing with ClinicalOmicsDB
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.3%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
·
Repository
R package for interfacing with ClinicalOmicsDB
Basic Info
- Host: GitHub
- Owner: bzhanglab
- License: other
- Language: R
- Default Branch: master
- Homepage: http://trials.linkedomics.org/
- Size: 13.9 MB
Statistics
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 5
Created almost 3 years ago
· Last pushed almost 2 years ago
Metadata Files
Readme
Changelog
License
Citation
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# clinicalomicsdbR
[](https://doi.org/10.5281/zenodo.8239443)
R package to interface with the ClinicalOmicsDB API. Can be used to download data for your own analysis, or directly load study information into a dataframe for exploration.
Designed with the structure from https://r-pkgs.org/.
## Installation
To install the latest stable release, run
``` r
install.packages("clinicalomicsdbR")
```
You can install the development version of clinicalomicsdbR from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("bzhanglab/clinicalomicsdbR")
```
See Examples below to see how to use.
## Parameters
- `hostname` - base URL of the website containing the ClinicalOmicsDB API. Only change if you are running a custom service.
- `study_list` - list containing all the studies that were filtered by the `filter()` function.
## Functions
- `new()` - Create new clinicalomicsdbR object. Needed before any other
function
- `filter(drugs, cancers)` - filters studies matching provided
arguments. `drugs` is a list and can be individual drugs or
combinations. See the ClinicalOmicsDB website for all options.
`cancers` can contain multiple cancers.
- `download(output_dir)` - downloads all studies from `filter()` into
`output_dir`.
- `dataframe()` - loads all the studies from `filter()` into a
list, with column `study_list` that contains the names of the
studies and `df` that contains a list of the study data information.
- `dataframe_from_id(study_id)` - loads a study with id from `study_id` into a dataframe
- `download_from_id(study_id, output_dir)` - downsloads a study with id from `study_id` into a folder `output_dir`.
See the examples below for more information on how to use.
## Examples
### Filter and Download
Filters studies for those which used rituximab or ipilimumab then downloads them to the `studies` folder.
```{r example}
library(clinicalomicsdbR)
clinicalomicsdbR$new()$filter(drugs = c("ipilimumab", "rituximab"))$download(output_dir = tempdir()) # downloads all files
```
### Filter and Get Data Frame
Filters studies for those which used rituximab or ipilimumab then gets data frame.
*Notes*: `output_dir` is optional. Defaults to `clindb`.
``` {r}
library(clinicalomicsdbR)
res <- clinicalomicsdbR$new()$filter(drugs = c("ipilimumab", "rituximab"))$dataframe(); # downloads all files
for (study in res[["study_list"]]) {
print(ncol(res[["df"]][[study]]))
}
```
Owner
- Name: Zhang Lab
- Login: bzhanglab
- Kind: organization
- Location: Houston, TX
- Website: https://www.zhang-lab.org
- Repositories: 15
- Profile: https://github.com/bzhanglab
Translating omics data into biological insights.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: clinicalomicsdbR
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: John Michael
family-names: Elizarraras
affiliation: Baylor College of Medicine
identifiers:
- type: doi
value: 10.5281/zenodo.8239443
description: Zenodo DOI
repository-code: 'https://github.com/bzhanglab/clinicalomicsdbR'
url: 'http://trials.linkedomics.org/'
repository: 'https://zenodo.org/records/8252813'
abstract: >-
Provides an interface to the ClinicalOmicsDB API, allowing
for easy data downloading and importing. ClinicalOmicsDB
is a database of clinical and omics data from cancer
patients. The database is accessible at
<http://trials.linkedomics.org>.
keywords:
- bioinformatics
- omics
- biology
license: MIT
preferred-citation:
type: article
authors:
- given-names: Chang In
family-names: Moon
affiliation: Baylor College of Medicine
- given-names: John Michael
family-names: Elizarraras
affiliation: Baylor College of Medicine
- given-names: Jonathan Thomas
family-names: Lei
affiliation: Baylor College of Medicine
- given-names: Byron
family-names: Jia
affiliation: Carleton College
- given-names: Bing
family-names: Zhang
affiliation: Baylor College of Medicine
doi: 10.1093/nar/gkad871
journal: "Nucleic Acids Research"
month: 1
title: "ClinicalOmicsDB: exploring molecular associations of oncology drug responses in clinical trials"
issue: D1
volume: 52
year: 2024
GitHub Events
Total
Last Year
Packages
- Total packages: 1
-
Total downloads:
- cran 192 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: clinicalomicsdbR
Interface with the 'ClinicalOmicsDB' API, Allowing for Easy Data Downloading and Importing
- Homepage: https://github.com/bzhanglab/clinicalomicsdbR
- Documentation: http://cran.r-project.org/web/packages/clinicalomicsdbR/clinicalomicsdbR.pdf
- License: MIT + file LICENSE
-
Latest release: 1.0.5
published almost 2 years ago
Rankings
Dependent packages count: 28.6%
Dependent repos count: 35.3%
Average: 50.1%
Downloads: 86.4%
Maintainers (1)
Last synced:
10 months ago
Dependencies
DESCRIPTION
cran