Skip to content

Commit

Permalink
added_link
Browse files Browse the repository at this point in the history
  • Loading branch information
JunxiangXu committed Aug 4, 2024
1 parent dfa8175 commit 09ee2c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions 00_needed_packages.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ reticulate::py_install(
# install another environment with py 3.8 for cellpose
reticulate::conda_create(envname = "giotto_cellpose",
python_version = 3.8)
#.re.restartR()
reticulate::use_condaenv('giotto_cellpose')
reticulate::py_install(
pip = TRUE,
Expand Down
1 change: 1 addition & 0 deletions 02_session4.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Before you start, this tutorial contains an optional part to run image segmentat
#Install the Giotto Environment with Cellpose, note that we only need to do it once
reticulate::conda_create(envname = "giotto_cellpose",
python_version = 3.8)
#.re.restartR()
reticulate::use_condaenv('giotto_cellpose')
reticulate::py_install(
pip = TRUE,
Expand Down
6 changes: 3 additions & 3 deletions 03_session2.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,12 @@ library(Giotto)
instrs <- createGiottoInstructions(save_dir = file.path(getwd(),'/img/03_session2/'),
save_plot = TRUE,
show_plot = TRUE)
options(timeout = 999999)
download_dir <-file.path(getwd(),'/data/03_session2/')
destfile <- file.path(download_dir,'Multimodal_registration.zip')
if (!dir.exists(download_dir)) { dir.create(download_dir, recursive = TRUE) }
#download.file('', destfile = destfile)
#unzip(paste0(download_dir,'/Multimodal_registration.zip'), exdir = download_dir)
download.file('https://zenodo.org/records/13208139/files/Multimodal_registration.zip?download=1', destfile = destfile)
unzip(paste0(download_dir,'/Multimodal_registration.zip'), exdir = download_dir)
Xenium_dir <- paste0(download_dir,'/Multimodal_registration/Xenium/')
Visium_dir <- paste0(download_dir,'/Multimodal_registration/Visium/')
```
Expand Down

0 comments on commit 09ee2c8

Please sign in to comment.