shah-in-boots / EGM

Evaluation of electrophysiological signals
https://shah-in-boots.github.io/EGM/
Other
0 stars 1 forks source link

Annotation tables within R #26

Closed shah-in-boots closed 6 months ago

shah-in-boots commented 6 months ago

There are several issues with the conversion of annotations between the egm object and the underlying *.ann files from the WFDB.

  1. Time is not appropriately recycled from the sample position
  2. Default values are not available for type, subtype, or number
EGM::annotation_table("pks", sample = seq(1, 100, 11))
#> Error in `df_list()`:
#> ! Can't recycle `time` (size 0) to match `sample` (size 10).

Created on 2024-05-16 with reprex v2.1.0

To fix this, we likely need to do the following...