bio-xtt / SgsAnnDataV2

A package used to convert Seurat, Giotto, Signac, ArchR analysis object into AnnData format
2 stars 0 forks source link

Giotta/SgsAnnDataV2 installation #1

Open jiangzh-coder opened 5 months ago

jiangzh-coder commented 5 months ago

Hi

i used newest installation steps from "https://drieslab.github.io/Giotto_website/articles/ecosystem.html", then i tried to install "SgsAnnDataV2" from "https://github.com/bio-xtt/SgsAnnDataV2".

Necessary for installation from R

if(!"pak" %in% installed.packages()) { install.packages("pak") } pak::pkg_install("drieslab/Giotto") pak::pkg_install('drieslab/GiottoClass') pak::pkg_install('drieslab/GiottoUtils') pak::pkg_install('drieslab/GiottoVisuals') pak::pkg_install('drieslab/GiottoData')

Ensure Giotto Suite is installed

if(!"Giotto" %in% installed.packages()) { pak::pkg_install("drieslab/Giotto") } library(Giotto)

Ensure Giotto Data is installed

if(!"GiottoData" %in% installed.packages()) { pak::pkg_install("drieslab/GiottoData") } library(GiottoData)

Ensure the Python environment for Giotto has been installed

genv_exists = checkGiottoEnvironment() if(!genv_exists){

The following command need only be run once to install the Giotto environment

installGiottoEnvironment() } library(Giotto)

devtools::install_github("bio-xtt/SgsAnnDataV2") ############However, i met following errors: Error: object 'get_dimReduction' is not exported by 'namespace:Giotto' Execution halted ERROR: lazy loading failed for package 'SgsAnndata2023'

########the 2nd error is: when i tried to load " Failed with error: ‘lazy-load database 'C:/Users/zhou_/AppData/Local/R/win-library/4.3/Giotto/R/Giotto.rdb' is corrupt’

Thank you and Best wishes Jiang

bio-xtt commented 5 months ago

Hello, this is because the giotto package has been upgraded, this function is enabled, we have updated this code, you can download our latest version