From 6deb49afbf7e4af6ba785e95f95b06fdf81ed0bc Mon Sep 17 00:00:00 2001 From: ShixiangWang Date: Tue, 27 Feb 2024 19:21:54 +0800 Subject: [PATCH] update zenodo record --- R/load_data.R | 4 ++-- inst/shinyapp/shiny-doc/datasets.md | 2 +- man/load_data.Rd | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/load_data.R b/R/load_data.R index 31f88e52..84163da4 100644 --- a/R/load_data.R +++ b/R/load_data.R @@ -23,7 +23,7 @@ #' - `TCGA.organ`: TCGA organ data. #' - `toil_info`: Toil hub information. #' -#' **Remote datasets stored in [Zenodo](https://zenodo.org/record/10554197/)**: +#' **Remote datasets stored in [Zenodo](https://zenodo.org/record/10715979/)**: #' - `pcawg_promoter_id`: PCAWG promoter identifiers. #' - `transcript_identifier`: Common transcript identifiers. #' - `ccle_expr_and_drug_response`: CCLE expression and drug response data. @@ -79,7 +79,7 @@ load_data <- function(name) { if (!file.exists(data_path)) { # Download it to inst/extdata from zenodo # Then load it - data_url <- file.path("https://zenodo.org/record/10554197/files", name2) + data_url <- file.path("https://zenodo.org/record/10715979/files", name2) if (tryCatch(httr::status_code(httr::HEAD(data_url)), error = function(e) 404) != 200) { # Use an alternative OSS approach diff --git a/inst/shinyapp/shiny-doc/datasets.md b/inst/shinyapp/shiny-doc/datasets.md index 992d612c..a149fe92 100644 --- a/inst/shinyapp/shiny-doc/datasets.md +++ b/inst/shinyapp/shiny-doc/datasets.md @@ -1,6 +1,6 @@

Extra Datasets

-Extra datasets cleaned from UCSCXena hubs or references are deposited in [Zenodo repo](https://zenodo.org/record/10554197). +Extra datasets cleaned from UCSCXena hubs or references are deposited in [Zenodo repo](https://zenodo.org/record/10715979). You can download them directly from the Zenodo repo or using `get_data()` function provided in UCSCXenaShiny R package. diff --git a/man/load_data.Rd b/man/load_data.Rd index 8ef4ad44..177312e7 100644 --- a/man/load_data.Rd +++ b/man/load_data.Rd @@ -28,7 +28,7 @@ load_data(name) \item \code{toil_info}: Toil hub information. } -\strong{Remote datasets stored in \href{https://zenodo.org/record/10554197/}{Zenodo}}: +\strong{Remote datasets stored in \href{https://zenodo.org/record/10715979/}{Zenodo}}: \itemize{ \item \code{pcawg_promoter_id}: PCAWG promoter identifiers. \item \code{transcript_identifier}: Common transcript identifiers.