Giter VIP home page Giter VIP logo

cipa's Introduction

Comprehensive in vitro Proarrhythmia Assay (CiPA)
in silico model

R code used to perform uncertainty quantification for the CiPA in silico model

Authors

Kelly Chang, Zhihua Li

Requirements

This code was developed with R version 3.3 and uses the following packages:

  • optparse (version 1.4.4)
  • deSolve (version 1.14)
  • cmaes (version 1.0-11)
  • FME (version 1.3.5)
  • rms (4.5-0)
  • ggplot2 (version 1.14)

Uncertainty characterization

hERG_fitting/ contains code to perform uncertainty characterization for drug binding kinetics of the human Ether-à-go-go-Related Gene (hERG) channel gating model (README.md).

Hill_fitting/ contains code to perform uncertainty characterization of dose-response curves for six ionic currents (ICaL, INaL, INa, Ito, IKs, and IK1) (README.md).

Uncertainty propagation

AP_simulation/ contains code to propagate uncertainty in drug effects to action potential (AP) simulations. Results from hERG_fitting/ and Hill_fitting/ are used as model inputs (README.md).

DISCLAIMER

This software and documentation were developed by the authors in their capacities as Oak Ridge Institute for Science and Education (ORISE) research fellows at the U.S. Food and Drug Administration (FDA).

FDA assumes no responsibility whatsoever for use by other parties of the Software, its source code, documentation or compiled executables, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. Further, FDA makes no representations that the use of the Software will not infringe any patent or proprietary rights of third parties. The use of this code in no way implies endorsement by the FDA or confers any advantage in regulatory decisions.

cipa's People

Contributors

kelcc avatar

Stargazers

Keyth M Citizen  avatar Huan Yang avatar mnarayan avatar Barron Trump avatar David W Zhou avatar Mustang Kong avatar Iga Narendra avatar  avatar  avatar Xiangyu.Li avatar AlexZHENGH avatar  avatar Shugang Zhang avatar  avatar Dennis Ogiermann avatar Henrik Finsberg avatar  avatar anand jain avatar Vladimir Chupakhin avatar Kevin Vincent avatar Andrés Colón Pérez avatar Mishal Ashraf avatar  avatar Dominic Whittaker avatar  avatar Sungpil Han avatar Andree Valle Campos avatar Jason Deng avatar Min-Gul Kim avatar  avatar Michael Clerx avatar Gary Mirams avatar

Watchers

Michael Jovel avatar James Cloos avatar Gary Mirams avatar  avatar Haibo Ni avatar Sungpil Han avatar AlexZHENGH avatar br avatar  avatar  avatar  avatar Mishal Ashraf avatar

cipa's Issues

Error in sprintf("%s not found! Interpreting dose as nanomolar concentrations.") issue

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)
      }
    }
   }

dyn.load error issue.

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.

Run Rscript compute_TdP_error.R issue

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.