Giter Club home page Giter Club logo

rhrt's Introduction

RHRT

RHRT provides tools for a Heart Rate Turbulence analysis of RR interval data. It can either find the ventricular premature complexes (VPCs) via a set of filter rules or can use annotation data to only check the beats with the correct annotation. VPC snippets are filtered for validity and HRT parameters calculated.

In addition to standard calculation methods the package allows to modify the filter and calculation parameters. It is therefore not only helpful to identify HRT classes of measurements for risk assessment but also for assessment of the methodology itself.

For more information please check the vignette of the package. For more information about HRT have a look into the original publication by Schmidt et al. or our review with focus on the methodology.

Installation

You can install the released version of RHRT from CRAN with:

install.packages("RHRT")

And the development version from GitHub with:

install.packages("devtools") # if not already done
devtools::install_github("VBlesius/RHRT/RHRT")

Example

The general workflow of RHRT is to scan your interval data for HRT and check the results via HRT class and plot:

library(RHRT)
## scan your interval data and save the results as an HRTList
hrtl <- vectorToHRT(testdataLong)
## get the HRT class of your data
getResults(hrtl, type = "class")
#> [1] "HRT0"
## have a look at the data and the parameters
plot(hrtl)

Data

Data to test the package can be found on Physionet. Via the WFDB Toolkit ECG data can be downloaded and/or converted, for example:

ann2rr -r chf2db/chf201 -a ecg -i s3 -w > ~/some/path/chf201.csv

Then load the data and use RHRT to find VPCSs:

chf201 <- read.table("~/some/path/chf201.csv")
hrtl <- RHRT::vectorToHRT(chf201[[1]]*1000, ann = chf201[[2]])

More example workflows can be found in the vignette.

rhrt's People

Contributors

vblesius avatar

Watchers

 avatar  avatar  avatar

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.