wfdb_import {RHRV}R Documentation

Import data from a record in wfdb format

Description

Initially, the heart beats of the ECG recordings had to be identified and labeled. For this task, an automated function downloaded from the Physionet website and written in C language was used and incorporated to our R software package. Basically, this algorithm reads the annotation file for the ECG register, and writes a text-format translation of it.

Usage

wfdb_import(filein, annotator = "qrs", PATH = ".")

Arguments

filein the ECG file to be used
annotator the type of annotation wished
PATH the path of the ECG file

Value

No value is returned, the result of applying this function is an output file in the same directory of the input file with the same name of the input adding "_ascii"

Note

On Windows and Macosx operating systems is necessary to define a .Renviron file in the user workspace indicating the directory of the wfdbtools commands. Examples for both OS are given below:

    ## .Renviron on Windows
    PATH="c:\\cygwin\\bin"
    DYLD_LIBRARY_PATH="c:\\cygwin\\lib"

    ## .Renviron on Macosx
    PATH="/opt/local/bin"
    DYLD_LIBRARY_PATH="/opt/local/bin"

Author(s)

M. Lado, A. Mendez, D. Olivieri, L. Rodriguez, X. Vila

References

L. Rodriguez-Linares, X. Vila, A. Mendez, M. Lado, D. Olivieri, "RHRV: An R-based software package for heart rate variability analysis of ECG recordings," 3rd Iberian Conference in Systems and Information Technologies (CISTI 2008), 21-23 June 2008.


[Package RHRV version 1.0 Index]