Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to download COVID-19 differential expression data #84

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: drugfindR
Title: Investigate iLINCS for candidate repurposable drugs
Version: 0.99.986
Version: 0.99.987
Authors@R: c(
person(given = c("Ali", "Sajid"),
family = "Imami",
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/CogDisResLab/drugfindR",
"issueTracker": "https://github.com/CogDisResLab/drugfindR/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.99.986",
"version": "0.99.987",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -350,7 +350,7 @@
"applicationCategory": "Genomics",
"isPartOf": "https://bioconductor.org",
"keywords": ["LINCS", "iLINCS", "drugrepurposing", "drugdiscovery", "transcriptomics", "geneexpression", "geneknockdown", "geneoverexpression", "chemicalperturbagen", "drugfindR", "r", "ilincs", "bioinformatics", "bioinformatics-pipeline"],
"fileSize": "2085.479KB",
"fileSize": "2086.498KB",
"releaseNotes": "https://github.com/CogDisResLab/drugfindR/blob/master/NEWS.md",
"readme": "https://github.com/CogDisResLab/drugfindR/blob/devel/README.md",
"contIntegration": ["https://github.com/CogDisResLab/drugfindR/actions/workflows/rworkflows.yml", "https://app.codecov.io/gh/CogDisResLab/drugfindR?branch=devel"],
Expand Down
19 changes: 19 additions & 0 deletions inst/script/dCovid_diffexp.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This script servers as both documentation and script to downlaod
# the data file dCovid_diffexp.tsv from Zenodo.
#
# This file is used in the vignette to demonstrate the use of the
# drugfindR package.

# The file that we download is part of a set of differential gene expression
# files that are located in the Zenodo repository at the following URL:
# https://zenodo.org/record/10265182
# These files were generated by the author, who is also the author of the
# publication "Identification of candidate repurposable drugs to combat COVID‑19 using a signature‑based approach" (https://doi.org/10.1038/s41598-021-84044-9).
#
# This particular file contains the differential gene expression data for the
# patients with COVID-19 compared to the healthy controls.
url <- "https://zenodo.org/records/10265182/files/dCovid_diffexp.tsv"

# We download the file to the inst/extdata directory of the package.
location <- file.path("inst", "extdata", "dCovid_diffexp.tsv")
download.file(url, location, method = "auto")
Loading