Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/arvinsoepriatna/AP_Analysis_Routines_Cardiotoxicity_Microtissues
26 May 2023, 19:39:53 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    No releases to show
  • 1215bd4
  • /
  • README.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:d00f2812c16d46713ea6926cf56500552dad7f20
origin badgedirectory badge Iframe embedding
swh:1:dir:1215bd4f21667b9a30baf5a38e50c76ec810c5eb
origin badgerevision badge
swh:1:rev:3172027cbd78883c5c6e464524afea6fa213cfad
origin badgesnapshot badge
swh:1:snp:ae9c3fb75ef9fd93e883fbae4dc0c938eb9481b4

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 3172027cbd78883c5c6e464524afea6fa213cfad authored by bumrak on 18 May 2023, 19:50:22 UTC
Update README.md
Tip revision: 3172027
README.md
# Automated AP analysis for cardiotoxicity testing on hiPSC-derived cardiac 3D microtissues

This workspace houses a collection of python script and sample data links that are published in Plos One 2023, entitled "Automated Data Analysis Pipeline for Cardiotoxicity Testing Using Optically Mapped hiPSC-derived 3D Cardiac Microtissues" by Arvin H. Soepriatna, Allison Navarrete-Welton, Tae Yun Kim, Mark C. Daley, Peter Bronk, Celinda M. Kofron, Ulrike Mende, Kareen L.K. Coulombe, Bum-Rak Choi. 

## Required Python Packages

This python script is provided as a Jupyter notebook so users can easily test and incorporate the algorithms into their own softwares. To run this python script, two main software should be installed, Jupyter notebook (https://jupyter.org/) and Anaconda python distribution (https://www.anaconda.com/products/distribution).

From the Anaconda Powershell prompt, please install following python packages; 
    numpy for numerical analysis,
    scipy for numerical analysis,
    pandas for data input and output,
    Dataset for reading the raw optical mapping data in the netCDF format,
    matplotlib for plotting,
    seaborn for additional visualization,
    cv2 for visualization and segmentation,
    sklearn for logistic and PCA analysis. 



To install these packages, use the following command.

    conda install 'package name here'


## Usage

1. Automated data analysis
To run the automated data analysis routines with a sample data, please download the script file 'Algorithms_Demo_Cardiotoxicity.ipynb'. Download a sample data set '2021-07-30-060.nc' from the link (https://doi.org/10.7910/DVN/YCPHZ9) under 'sample_data' subdirectory. The Juypter file has the python routines including thresholding, baseline correction using asymmetric least squares algorithm, measurements of risetime and repoliarization using moving average subtraction. The detailed descriptions of parameters and usage are provided in the routines. All other raw data of optical mapping are also available from the link (https://doi.org/10.7910/DVN/YCPHZ9)


2. Logistic Regression analysis
To run the logistic regression analysis, please download the script file 'LogisticRegression_CardiotoxicityAlgorithms.ipynb' to the main directory and all the necessary data files under the 'experiment_data' subdirectory. These data files contain 8 AP metrics and are in the CSV file format. The analysis script has two parts including a) experimentally obtained AP metrics changes under selective ion channel blockers and b) computer simulation results under selective ion channel blockade. Open 'LogisticRegression_CardiotoxicityAlgorithms.ipynb' from the Juypter program.


## Contributing

## History

This python packages and sample data were first uploaded on Dec 12th, 2022

## Credits
The software packages were originally written in Interactive Data languages (https://www.l3harrisgeospatial.com/) by Bum-Rak Choi and Taeyun Kim. This package in IDL is available at OMpro githup site (https://github.com/bumrak/OMPro). Allison Navarrete-Welton ported the IDL codes into python in 2022. 

## License

copyright © 2022, Bum-Rak Choi, Taeyun Kim, Allison Navarrete-Welton
 This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API