View source: R/correct_peaks.R
import_wfdb_annotations | R Documentation |
Helper function to read single-channel WFDB annotations into a data.table object
import_wfdb_annotations(
wfdb_file,
annotator,
elapsed = TRUE,
channel = 0L,
type = "N",
wfdb_path = "/usr/local/wfdb/bin"
)
wfdb_file |
Prefix to wfdb file containing the annotations to be extracted |
annotator |
The algorithm used for creating the annotations (determines the suffix, like 100.gqrs) |
elapsed |
A boolean indicating whether to extract elapsed times since beginning of record or absolute times. A value of TRUE passes -e to rdann |
channel |
optional channel to read annotations from if file contains multi-channel data. Default is 0, which is the first channel. |
type |
The type of annotation to be imported from WFDB. Defaults to "N" for normal beats in ECG |
wfdb_path |
location of the WFDB bin directory on this computer. |
Michael Hallquist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.