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

error in extractSignatures: (list) object cannot be coerced to type 'double' [in call to 'which.min'] #138

Closed
solovictor opened this issue Apr 19, 2018 · 5 comments

Comments

@solovictor
Copy link

Hi,
most of tested procedures worked perfectly (such as
plotApobecDiff(tnm = laml.tnm, maf = laml) , for example, just I have problem with extractSignatures.
Please look at the output and resolve.
Best Regards, Victor

laml.sign = extractSignatures(mat = laml.tnm, nTry = 3, plotBestFitRes = FALSE)
Estimating best rank..
Timing stopped at: 16.39 6.268 3.847
Timing stopped at: 19.64 7.504 5.454
Error in (function (...) : All the runs produced an error:
-#1 [r=2] -> (list) object cannot be coerced to type 'double' [in call to 'which.min']
-#2 [r=3] -> (list) object cannot be coerced to type 'double' [in call to 'which.min']

@PoisonAlien
Copy link
Owner

Hi,
Can you load NMF library and try again ?

@solovictor
Copy link
Author

solovictor commented Apr 19, 2018 via email

@PoisonAlien
Copy link
Owner

This is weird. Could you try install NMF from GitHub and see if it helps.

devtools::install_github("renozao/NMF")

@solovictor
Copy link
Author

solovictor commented Apr 19, 2018 via email

@PoisonAlien
Copy link
Owner

Hi,
Its hard for me to suggest anything without a reproducible data. Is it possible for you to share the matrix ? Also can you post your sessioninfo after loading maftools and maf ?

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