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 using alpha = "from.data" #6

Closed
M-Marku opened this issue Mar 29, 2023 · 2 comments
Closed

Error using alpha = "from.data" #6

M-Marku opened this issue Mar 29, 2023 · 2 comments

Comments

@M-Marku
Copy link

M-Marku commented Mar 29, 2023

Hi,

I am using dynGENIE3 on a 6-sample dataset, with 5 time points each. While setting alpha = fixed_value works perfectly, using alpha = "from.data" gives

Error in { :
task 2 failed - "NA/NaN/Inf in foreign function call (arg 4)"

Any idea where this error comes from, and how to solve it?
Thanks

@vahuynh
Copy link
Owner

vahuynh commented Mar 30, 2023

Hi,

I would need a bit more info.

Could you run the following:
alphas <- estimate.decay.rates(TS.data, time.points),
where TS.data and time.points are the same input arguments as when calling dynGENIE3(TS.data, time.points),
and check if alphashas some nan or inf values?

@M-Marku
Copy link
Author

M-Marku commented Apr 6, 2023

Indeed, there were a few NaN values of alphas for some genes.
Thank you for your fast reply and your help.

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