read_muse_xml_ecg: Read a single XML representation of an ECG exported from...

Description Usage Arguments Examples

View source: R/read_muse_xml_ecg.R

Description

Read a single XML representation of an ECG exported from MUSE. Returns a matrix with data for 12-leads

Usage

1
read_muse_xml_ecg(file, file_out = NA, numpyformat = TRUE)

Arguments

file

Filename for the xml file that will be read

file_out

Filename for exported data. If NA, no file is written. Only works if numpyformat is FALSE.

numpyformat

Logical to determine if the array should be returned as a 5000x12 (FALSE) or a 1x5000 x 12 x 1 (TRUE, Default) format. The latter is the standard input for AI-ECG algorithms

Examples

1
2
3
4
## Not run: 
ecg_1 <- read_muse_xml_ecg("1_MUSSE_ecg.xml")

## End(Not run)

rickeycarter/easyRecg documentation built on Dec. 22, 2021, 4:09 p.m.