Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 105 #28

Closed
ksr2018 opened this issue Mar 4, 2019 · 1 comment

Comments

@ksr2018
Copy link

ksr2018 commented Mar 4, 2019

Hi @farrellja ,
I'm trying URD on a dataset with about 50k cells and when I try to run:

myURDobject.biased.tm <- as.matrix(pseudotimeWeightTransitionMatrix(myURDobject, "pseudotime", logistic.params=myURDobject.ptlogistic))

it gives the following error:

Error in asMethod(object) :
Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 105

I realize this may be related to issue #6, but I do not know how to fix it. Can you please help?

Thank you.

@farrellja
Copy link
Owner

Hi @ksr2018,

I have updated the pseudotimeWeightTransitionMatrix function, which was having an error above 46k cells. To avoid it, it divides the data into pieces, processes them separately, and then reassembles it. Try installing from the debug branch (devtools::install_github(repo="farrellja/URD@debug"), should be version 1.0.3.9002) and try again. You probably will also want to remove the as.matrix() in the above call to keep the output as a sparseMatrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants