FDA / CiPA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run Rscript compute_TdP_error.R issue

yrs33123 opened this issue · comments

I'm running the compute_TdP_error.R script and the following error occurs.
image
image
This error message appears 25 times, I guess it happens in a ‘for’
I debugged the code and found that the problem occurred in # for outdir

What is the cause of this?

I have found the problem, the reason for this problem is: I did not do the operation for all drugs, which causes the matrix vector length to be empty (or 0) when reading the data in the csv file in /data, so for this problem just fit all drugs or modify the number of drugs in the csv file in /data.