get_spikes_app: Get spikes for the shiny app.

Description Usage Arguments Value

View source: R/Analyse_real_data.R

Description

Get spikes for the shiny app.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
get_spikes_app(
  data,
  time.step,
  thres,
  lin.trend,
  trans2_low,
  trans2_high,
  trans1,
  trans3,
  closeness
)

Arguments

data

time series data.

time.step

Vector of time from the time series data, or if step size is regular the time step of the experiment.

thres

Threshold values in form c(spike.occur, val.change)

lin.trend

Flag, where if TRUE we remove linear trends.

trans2_low

lower bound of second transient period

trans2_high

upper bound of secont transient period

trans1

first transient period from 0 to trans1.

trans3

lower bound of third transient period , where the upper bound is T, the end of experiment time.

closeness

Value which if two spikes are within this distance they are merged.

Value

spikes


JPNotts/Package documentation built on Oct. 5, 2021, 2:04 p.m.