fda / cipa Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
I have the problem associated with sprint error in R 3.6.3(using Rstudio terminal tab).
Let me know how to solve below error.
-Command used in Rstudio terminal tab-
Rscript AP_simulation.R -d drug1 -x "1-10,15,20,25" --cmaxfile="my_cmax_table.csv" --hergpath="path/to/herg/results/" --hillpath="path/to/hill/results/"-
-Error result example-
loaded via a namespace (and not attached):
[1] compiler_3.6.3 getopt_1.20.3
Error in sprintf("%s not found! Interpreting dose as nanomolar concentrations.") :
Calls: print -> sprintf
-Rcode part(AP_simulation.R) that may occur error-
#--- get therapeutic concentration (Cmax)
if(drug=="control"){
cmax<-0
}else{
if(!file.exists(cmaxfile)){
cmax<-1
print(sprintf("%s not found! Interpreting dose as nanomolar concentrations."))
}else{
drugtable<-read.csv(cmaxfile)
cmax<-drugtable[as.character(drugtable$drug)==drug,"therapeutic"] # should be in nanomolar
if(length(cmax)==0){
cmax<-1
print(sprintf("Cmax undefined, interpreting dose as nanomolar concentrations."))
}else if(length(cmax)==1){
print(sprintf("Cmax set to %g nM, interpreting dose as multiples of Cmax.",cmax))
}else{
stop("Multiple entries for %s therapeutic concentration!",drug)
}
}
}
extension<-ifelse(isWindows, ".dll", ".so")
dyn.load(paste0("D:/platanus/CiPA_Rocde/CiPA-master/AP_simulation/models/newordherg_qNet",extension))
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'D:/platanus/CiPA_Rocde/CiPA-master/AP_simulation/models/newordherg_qNet.dll'
LoadLibrary failure: The specified module could not be found.
May be..... Does it occur error because of Rtool version?
I'm using R 3.6.3 version and Rtool35 version based on window10.
It seems that the github hergmod.c file contains different equations, than those published in Li et al 2018 (https://doi.org/10.1161/CIRCEP.116.004628), please see attached slides for details. Could the authors please clarify the exact equations that should be used in model fitting.
Many Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.