Closed AAA-3 closed 3 years ago
Update: I forced the file to be read as a matrix by adding: exprMat_filtered <- as.matrix(exprMat_filtered)
before the runCorrelation()
command. Continuing on with the GENIE3 pipeline. Not sure what the cause of this error was but at least we have a solution for those who also run into this problem :)
However, sometimes the exprMat
is very large and as.matrix
function will report error:
> exprMat <- Matrix::as.matrix(Sepsis_seurat@assays$RNA@data)
Error in asMethod(object) :
Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 102
Hello :)
I imported me seurat file into SCENIC:
and then ran the filtration based on the solution provided in https://github.com/aertslab/SCENIC/issues/90#issue-473703158
I am attempting to run a correlation using the
runCorrelation(exprMat_filtered, scenicOptions)
command but I keep getting an error claimingError in t.default(exprMat_filtered) : argument is not a matrix
. This is despite the global environment window stating that it is:I looked at the source code https://github.com/aertslab/SCENIC/blob/master/R/runCorrelation.R but am not sure how to manipulate it to proceed. Any ideas?