truncate_spikes: Truncate spikes

truncate_spikesR Documentation

Truncate spikes

Description

It has been observed that the signal contains a lot of high-voltage spikes distributed throughout the lenght of the read. This function truncates/clips these spikes to a specified threshold value

Usage

truncate_spikes(data, spike_threshold)

Arguments

data

Data that needs its spikes to be truncated

spike_threshold

Threshold beyond which spikes will be clipped

Value

Same data as input but with spikes clipped

Examples

## Not run: 

truncate_spikes(data, 2)

## End(Not run)


adnaniazi/tailfindr documentation built on March 23, 2024, 7:07 a.m.