The Hodgkin–Huxley model, or conductance-based model, is a mathematical model that describes how action potentials in neurons are initiated and propagated. It is a set of nonlinear differential equations that approximates the electrical characteristics of excitable cells such as neurons and cardiac myocytes.
If you want to run this on your own computer, make sure you have shiny
, quantmod
, reshape2
and deSolve
installed. Then run the following command: shiny::runGitHub('HodgkinHuxleyModel', 'ineskris')
Or copy and paste the following script.
## Running shiny() on your own computer
## Install libraries -- shiny, quantmod, deSolve
if (!require(shiny)) {
install.packages("shiny")
library(shiny)
}
if (!require(quantmod)) {
install.packages("quantmod")
library(quantmod)
}
if (!require(deSolve)) {
install.packages("deSolve")
library(deSolve)
}
if (!require(reshape2)) {
install.packages("reshape2")
library(reshape2)
}
## Load libraries
require(deSolve)
require(quantmod)
require(shiny)
require(reshape2)
## Run shinyapp
shiny::runGitHub('HH_model', 'ineskris')