Calculates the ODI (number of >= 3% SpO2 desaturations per hour of sleep) from the SpO2 channel.
Arguments
- psg
An
mrpheus_psgobject fromprepare_psg().- spo2_channel
Character. SpO2 channel label.
- tst_hours
Numeric. Total sleep time in hours.
- threshold
Numeric. Desaturation threshold (percentage points). Default
3.