Skip to content

ineskris/HH_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hodgkin Huxley Model

Introduction

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.

To run the model on your own computer

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

About

Hodgkin Huxley Model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published