Skip to content

Commit

Permalink
Download Lymphoma/Myeloma dataset if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
hlfernandez committed Apr 30, 2019
1 parent 14f912f commit 6d51cd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion download-cancer.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ download.file(
"https://www.sing-group.org/mass-up/downloads/datasets/Cancer-Dataset.zip",
zipFile
)
unzip(zipFile)
unzip(zipFile)
file.remove(zipFile)
4 changes: 4 additions & 0 deletions load-cancer.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ getBinnedPeaksMatrix <-

binnedPeaksMatrix
}

if(!file.exists("cancer-dataset-supernatant")) {
source("download-cancer.R")
}

dataDirs <- c(
"cancer-dataset-supernatant/HEALTHY/",
Expand Down

0 comments on commit 6d51cd4

Please sign in to comment.