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

emergency!!!!!deconvolution_fit() failed from recursive default argument reference #58

Open
wangpenhok opened this issue May 23, 2022 · 1 comment

Comments

@wangpenhok
Copy link

I followed the official guide to calculate the exposure of each de novo signatures by using the function deconvolution_fit(), but it returned with an error as following:
Error in deconvolution_fit(input_matrices = SBS_Input, input_signatures = SBS_de_novo_sigs, : promise already under evaluation: recursive default argument reference or earlier problems?

so I downloaded the source package and changed the arguments' title in this function, but the same error appeared again:

Error in deconvolution_fit(input_.matrices = SBS_input, input_.signatures = SBS_denovo_sigs, : promise already under evaluation: recursive default argument reference or earlier problems?

I have no idea what the problem is and how should I fix it.

Could you please take a look at my problem and offer some advice?
Thanks a lot!

@benedict909
Copy link
Contributor

Hello,

I think this error normally occurs when you give a function argument a variable of the same name (e.g. deconvolution_fit(input_matrices = input_matrices). Maybe you could check you haven't done this anywhere in the arguments you're passing to deconvolution_fit()?

I can also see that in the source code for this function we have resdir = resdir, maybe this is the cause - could you change the argument name you supply for resdir and see if that works? 🙂

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