Description Usage Arguments Value
View source: R/Analyse_real_data.R
Get spikes from raw data
1 2 3 4 5 6 7 8 9 10 | data_to_spike(
data,
transients = 2000,
time.step = 2,
spike.occur = 0.6,
val.change = NULL,
reset = spike.occur,
closeness = 40,
rm.trend = TRUE
)
|
data |
time series data. |
transients |
transient periods where we want to remove spikes. |
time.step |
Vector of time from the time series data, or if step size is regular the time step of the experiment. |
spike.occur |
threshold where we record spikes. |
val.change |
vector of times where the threshold value changes. |
reset |
concentration at which we say a spike is over, default is set to spike.occur. |
closeness |
Value which if two spikes are within this distance they are merged. |
rm.trend |
Flag, where if TRUE we remove linear trends. |
spike sequence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.