Giotto: comprehensive toolbox for spatial data analysis
Giotto ๐ Dries, Ruben, et al. โGiotto: a toolbox for integrative analysis and visualization of spatial expression data.โ Genome biology 22 (2021): 1-31.
๐ Homepage: https://giottosuite.readthedocs.io/en/master/ {.prompt-tip}
Installation
Requirements
- R (>= 3.5.1)
- Python (>= 3.0)
- Windows, MacOS or Linux specific installation tools
R ์ด๋ Python ๋ ๋ค ํ์ํ๋ ๋ช ์ฌํ์
step01. Install Giotto R packages
prerequisites
- a major dependency terra needs
GDAL (>= 2.2.3)
,GEOS (>= 3.4.0)
,PROJ (>= 4.9.3)
,sqlite3
on linux
์ค์น ๋ผ์๋์ง ๋จผ์ ํ์ธ
1
2
3
4
gdal-config --version #GDAL
geos-config --version #GEOS
proj --version #PROJ
sqlite3 --version #sqlite3
Install Terra
๐GDAL/GEOS/PROJ/SQLite3 ์ค์น๋ ์ฌ๊ธฐ ์ฐธ์กฐ
๐GDAL, GEOS, PROJ installation from source code without sudo permission
1
install.packages('terra', repos='https://rspatial.r-universe.dev')
Install Giotto
1
2
# install.packages("pak")
pak::pak("drieslab/Giotto")
Install magick
๐จERROR: dependency โmagickโ is not available for package โGiottoโ
1
2
3
4
5
6
7
8
9
10
wget https://imagemagick.org/archive/ImageMagick.tar.gz
tar -xvzf ImageMagick.tar.gz
cd ImageMagick-7.1.1-36
./configure --prefix=/source/ImageMagick-7.1.1-36/
make -j 10 & make install
# update ~/.bash_profile
PATH=/source/ImageMagick-7.1.1-36/bin:$PATH
LD_LIBRARY_PATH=/source/ImageMagick-7.1.1-36/lib:$LD_LIBRARY_PATH
PKG_CONFIG_PATH=/source/ImageMagick-7.1.1-36/lib/pkgconfig:$PKG_CONFIG_PATH
1
install.packages("magick")
This post is licensed under CC BY 4.0 by the author.