egm | R Documentation |
This class serves as a combinatorial class to describe
cardiovascular electrical signal data in R. It is based off of the formats
available in WFDB, but has been formatted for ease of use within the R
ecosystem. An egm
object contains three components in a list:
signal data in multiple channels
header information
annotation labels at specified time points
These components help to navigate, and visualize data. The egm
class is
the backbone for working with WFDB objects in R, and provides an interface
for integrating or converting other raw signal data to a WFDB format.
egm(
signal = signal_table(),
header = header_table(),
annotation = annotation_table(),
...
)
is_egm(x)
signal |
A |
header |
A |
annotation |
A |
... |
Additional arguments to be passed to the function |
x |
An |
The individual components of the class are further defined in their
respective children functions signal_table()
, header_table()
,
annotation_table()
. They are very simple classes that build upon the
data.table
class that allow for class safety checks when working with
different data types (particularly WFDB).
IMPORTANT: The egm
class can be built from ground-up by the user,
however it is primarily generated for the user using the other read/write
functions, such as read_lspro()
or read_wfdb()
.
An object of class egm
that is always a list of the above three
components. Oftentimes, the annotation_table
object may be missing, and
it is replaced with an empty table as a place holder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.