Closed strauss-s closed 4 years ago
Hi Sascha,
Thanks for letting us know and I'm sorry for the inconvenience. This is probably because we now use a sparse (vs dense) matrix to store the expression data, but forgot to test if spatialDE accepts that format. I'll try to test it later today and let you know when it's fixed.
Best, Ruben
The issue should be resolved now. I have:
If you use the automatic way (r-miniconda) to install the python modules you can use this snippet to install the necessary python modules for spatialDE:
`packages_to_install = c('NaiveDE', 'SpatialDE', 'patsy') conda_path = reticulate::miniconda_path() conda_full_path = paste0(conda_path,'/','bin/conda') full_envname = paste0(conda_path,'/envs/giotto_env')
reticulate::py_install(packages = packages_to_install, envname = full_envname, method = 'conda', conda = conda_full_path, pip = TRUE, python_version = '3.6')`
Hi Ruben,
thanks a lot for fixing it so quickly.
Best, Sascha
Hi,
There seem to be two issues: Running with defaults:
>spatialDE(gobject = g)
Error in t.default(expr_values) : argument is not a matrix
Running with normalized expression counts does work at first, but at the end:
spatialDE(gobject = g,expression_values="normalized")
Models: 0%| | 0/10 [00:00<?, ?it/s]
...
Models: 100%|##########| 11/11 [00:00<00:00, 122.91it/s]Error in FSV_show(results = results, ms_results = ms_results, size = size, : could not find function "FSV_show"
Works with Giotto_0.1.4
Best, Sascha