Skip to content

Commit 23ce3a3

Browse files
committed
make names unique, otherwise it becomes an issue for the ExperimentHub submission
1 parent 4336985 commit 23ce3a3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

code/98_prepare_to_share/01_prepare_to_share.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ dir.create(dir_rdata, showWarnings = FALSE)
1212
suffix <-
1313
ifelse(as.numeric(Sys.getenv("SGE_TASK_ID")) == 1, "wholegenome", "targeted")
1414

15-
## Create output directory
16-
dir.create(file.path(dir_rdata, suffix), showWarnings = FALSE)
17-
1815
## Load the data
1916
spe <- readRDS(here::here(
2017
"processed-data",
@@ -101,7 +98,7 @@ source(here("code", "colors_pathology.R"), echo = TRUE, max.deparse.length = 500
10198
spe$path_groups_colors <- colors_pathology[as.character(spe$path_groups)]
10299

103100
## Save the final object that we can share through spatialLIBD
104-
save(spe, file = file.path(dir_rdata, suffix, "spe.Rdata"))
101+
save(spe, file = file.path(dir_rdata, paste0("Visium_SPG_AD_spe_", suffix, ".Rdata")))
105102

106103
## Reproducibility information
107104
print("Reproducibility information:")

code/99_prepare_for_shiny/01_prepare_shiny.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ suffix <-
1111
load(here::here(
1212
"processed-data",
1313
"98_prepare_to_share",
14-
suffix,
15-
"spe.Rdata"
14+
paste0("Visium_SPG_AD_spe_", suffix, ".Rdata")
1615
), verbose = TRUE)
1716

1817
## Drop images we don't really use in the app

0 commit comments

Comments
 (0)