Open alexanderjwhite opened 2 years ago
Hi,
SilhouetteRankTest requires the silhouetteRank python package to be installed: https://github.com/bernard2012/silhouetteRank (see Prerequisite and Installation section).
It also requires the parallel unix command (typically located in /usr/bin/parallel, but it could be different if you are using Macs). Once you have both, specify the parallel_path parameter in silhouetteRankTest function.
Also make sure that when you install SilhouetteRankTest python package, you are installing it to the python used by Giotto. I see you are not specifying the python path in createGiottoInstruction. So to avoid any confusion or errors in not able to find python package, explicitly define python_path.
I'm attempting to produce Giotto results for the Spatial LIBD data using the SEDR Analyses
The issue seems to be that the par files are not getting created via the do_gpd.R script called within the python stack. I'm not sure why this is happening. Thoughts?
Output
`R version 4.0.4 (2021-02-15) -- "Lost Library Book" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
no external python path was provided, but a giotto python environment was found and will be used sh: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/libtinfo.so.6: no version information available (required by /lib64/libreadline.so.7)
2: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, : module: leidenalg was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
3: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, : module: community was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
4: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, : module: networkx was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
first scale genes and then cells
Detailed traceback: File "", line 100, in silhouette_rank
File "/geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/python3.6/site-packages/silhouetteRank/use_previous_cluster.py", line 140, in do_one
f = open("%s/par.%d" % (outdir,target))
Calls: silhouetteRankTest -> silhouette_rank -> py_call_impl
Execution halted`
Session Info R version 4.0.4 (2021-02-15) Platform: x86_64-pc-linux-gnu (64-bit) Running under: SUSE Linux Enterprise Server 15 SP2
Matrix products: default BLAS/LAPACK: /geode2/soft/hps/cle6/intel/19.5/compilers_and_libraries_2019.5.281/linux/mkl/lib/intel64_lin/libmkl_rt.so
locale: [1] C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] eva_0.2.6 patchwork_1.1.1 ggplot2_3.3.5 SeuratObject_4.0.4 [5] Seurat_4.1.0 Giotto_1.1.0