Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.75 KB

File metadata and controls

40 lines (24 loc) · 1.75 KB

Synthetic data studies for hERG paper I

Synthetic data studies for hERG kinetics at room temperature.

To reproduce the results in the supporting materials in the publication, run the scripts in the order as listed.

Requirements

Above libraries should be installed/included in ../lib/.

Description

Fitting

  • fit.py: Simple fitting for a cell; Usage: python fit.py [int:cell_id] --optional [N_repeats]
  • fit.sh: Bash script calling fit.py as batches

MCMC

  • mcmc.py: Run MCMC for one cell, usage: python mcmc.py [cell-id]
  • mcmc.sh: Bash script to run MCMC for multiple cells by calling mcmc.py

Hierarchical Bayesian Model (HBM)

  • hbm.py: Run hierarchical Bayesian model (HBM) using Metropolis-Within-Gibbs (MWG)
  • pseudohbm.py: Run HBM using pseudo-MWG, requires individual cells' MCMC chain, and plot results

Plots