Closed rschauner closed 3 years ago
I also would like to mention that it has worked before and I was able to create plots when I was testing out the code.
Hi @rschauner , sorry for the delayed response on this. The error
Error: object of type 'closure' is not subsettable
indicates to me that your phateR
module is out of date. Could you update it and try again?
I ended up giving up on PHATE for awhile (because of problems with renv and reticulate), but tried it again on Friday on a new computer (so new install) and it seems to work.
Describe the bug When running PHATE R suddenly aborts before any messages are printed to the console.
The function RunPHATE is from Scott's branch of Seurat (but I did not install that branch, just copied the code into my R environment). I tried with
reduction = "sct_harmony"
andn.jobs = 1
andn.jobs = 4
. Whenn.jobs = 8
I get a C stack memory usage error around the KNN step, and forn.jobs = 1
andn.jobs = 4
R just aborts.C stack error:
To Reproduce run above code on the 3k PBMC data from 10x (loaded through SeuratData) with no filtering:
Running with
n.jobs = 4
replicates C stack error. Here are the needed functions to source: RunPHATE.txtExpected behavior R to continue running PHATE or signal an error
Actual behavior R session aborts with no errors
System information:
Output of
phate.__version__
:'1.0.4'
Output of
pd.show_versions()
:Output of
sessionInfo()
:Output of
reticulate::py_discover_config(required_module = "phate")
:Output of
phateR::check_pyphate_version()
:Additional context Seurat Object: