When I am trying to run the PhEMD pipeline with my data, I get the following error during the execution of function embedCells():
Error in if (isSparseMatrix(counts)) { : the condition has length > 1
According to the traceback, the problem is that isSparseMatrix(counts) returns vector "FALSE FALSE" instead of a single value. According to the comment here you are aware of this problem. Do you have any plans to fix it or workarounds to run the code? Currently, it is impossible to run PhEMD with data_model = "negbinomial_sz" on the latest versions of R.
When I am trying to run the PhEMD pipeline with my data, I get the following error during the execution of function
embedCells()
:Error in if (isSparseMatrix(counts)) { : the condition has length > 1
According to the traceback, the problem is that
isSparseMatrix(counts)
returns vector "FALSE FALSE
" instead of a single value. According to the comment here you are aware of this problem. Do you have any plans to fix it or workarounds to run the code? Currently, it is impossible to run PhEMD withdata_model = "negbinomial_sz"
on the latest versions of R.Session info: