Palimpsest
Palimpsest copied to clipboard
emergency!!!!!deconvolution_fit() failed from recursive default argument reference
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!
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? 🙂