Skip to content

Commit

Permalink
make names unique, otherwise it becomes an issue for the ExperimentHu…
Browse files Browse the repository at this point in the history
…b submission
  • Loading branch information
lcolladotor committed Mar 17, 2023
1 parent 4336985 commit 23ce3a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions code/98_prepare_to_share/01_prepare_to_share.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ dir.create(dir_rdata, showWarnings = FALSE)
suffix <-
ifelse(as.numeric(Sys.getenv("SGE_TASK_ID")) == 1, "wholegenome", "targeted")

## Create output directory
dir.create(file.path(dir_rdata, suffix), showWarnings = FALSE)

## Load the data
spe <- readRDS(here::here(
"processed-data",
Expand Down Expand Up @@ -101,7 +98,7 @@ source(here("code", "colors_pathology.R"), echo = TRUE, max.deparse.length = 500
spe$path_groups_colors <- colors_pathology[as.character(spe$path_groups)]

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

## Reproducibility information
print("Reproducibility information:")
Expand Down
3 changes: 1 addition & 2 deletions code/99_prepare_for_shiny/01_prepare_shiny.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ suffix <-
load(here::here(
"processed-data",
"98_prepare_to_share",
suffix,
"spe.Rdata"
paste0("Visium_SPG_AD_spe_", suffix, ".Rdata")
), verbose = TRUE)

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

0 comments on commit 23ce3a3

Please sign in to comment.