近期Seurat官網(wǎng)國(guó)內(nèi)上不去现诀,因此在服務(wù)器上也無(wú)法使用SeuratData包的InstallData()函數(shù)苇侵,有以下報(bào)錯(cuò):
> library(SeuratData)
> InstallData("pbmcMultiome")
Using cached data manifest, last updated at 2021-09-13 15:27:39
Error: No access to remote SeuratData repository, unable to install new datasets
因此使用自己的電腦在RStudio中下載數(shù)據(jù)集,盡管也會(huì)報(bào)錯(cuò)榆浓,但得到了pbmcMultiome數(shù)據(jù)集的網(wǎng)址
> InstallData("pbmcMultiome")
Warning: dependency ‘Signac’ is not available
試開(kāi)URL’http://seurat.nygenome.org/src/contrib/pbmcMultiome.SeuratData_0.1.0.tar.gz'
Content type 'application/octet-stream' length 280133643 bytes (267.2 MB)
==================================================
downloaded 267.2 MB
ERROR: dependency ‘Signac’ is not available for package ‘pbmcMultiome.SeuratData’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/pbmcMultiome.SeuratData’
The downloaded source packages are in
‘/private/var/folders/tx/qmr7ql797js45fq7575mzht00000gn/T/Rtmpq2sIpN/downloaded_packages’
Error in loadNamespace(name) :
there is no package called ‘pbmcMultiome.SeuratData’
此外: There were 37 warnings (use warnings() to see them)
于是在服務(wù)器上先通過(guò)鏈接下載數(shù)據(jù)集:
cd /local/txm/software/SeuratData
wget http://seurat.nygenome.org/src/contrib/pbmcMultiome.SeuratData_0.1.0.tar.gz --no-check-certificate
然后再在Rstudio中手動(dòng)安裝
install.packages('/local/txm/software/SeuratData/pbmcMultiome.SeuratData_0.1.0.tar.gz', repos = NULL, type = "source")
大功告成:
Installing package into '/local/txm/R/x86_64-pc-linux-gnu-library/4.0'
(as 'lib' is unspecified)
* installing *source* package ‘pbmcMultiome.SeuratData’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (pbmcMultiome.SeuratData)