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 #73

Open
rojinsafavi opened this issue Jun 1, 2021 · 1 comment
Open

Cholmod error #73

rojinsafavi opened this issue Jun 1, 2021 · 1 comment

Comments

@rojinsafavi
Copy link

rojinsafavi commented Jun 1, 2021

I'm working with a large dataset, and when I try to do PCA I get the following error:
axial <- calcPCA(axial, mp.factor = 2)

"2021-06-01 16:30:29: Centering and scaling data."
Error in asMethod(object): Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 102
Traceback:

1. calcPCA(axial, mp.factor = 2)
2. getZData(object, genes = genes.use)
3. apply([email protected][genes, ], 1, mean)
4. as.matrix(X)
5. as.matrix.Matrix(X)
6. as(x, "matrix")
7. asMethod(object)

I am working with the following branch of URD:

devtools::install_github("farrellja/URD@debug")

I manually added the tsne plot . but the same error happens in the next step:

the same thing happens with axial <- calcDM(axial, knn = 100, sigma=16)

@rojinsafavi rojinsafavi changed the title size error Cholmod error Jun 1, 2021
@jjoung
Copy link

jjoung commented Jul 7, 2021

Hi all,

I am also running into the same issues on URD_1.1.1.9000. Did you figure out how to get around it? Looks like the same issue as #56, which has been fixed on URD_1.1.1.9000 for createURD.

@farrellja could you please apply the same fix to calcPCA and calcDM?

Thank you!

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