findMids: A funciton to identify midpoints (T50) between peaks and...

Description Usage Arguments Value

View source: R/finders.R

Description

A funciton to identify midpoints (T50) between peaks and troughs. Only the mid points between . Argunments :

Usage

1
2
findMids(listInt, peaks = findPeaks(listInt), mins = findMins(listInt),
  Downstroke = T, midPoint = 0.5)

Arguments

peaks

: Index values coorisponding to peaks. Will run findPeaks() if nothing given.

mins

: Intex values coorisponding to troughs. Will run findMins() if nothing given.

list

: A list of GcAMP intensity values coorisponding to an experiemntal run.

Value

Returns a vector of indexes coorisponding to T50 values. It will only look for T50 values between peaks and troughs, so nothing should be showing up before the index of the first peak or after the index of the last peak.


allgenesconsidered/RCaMP documentation built on May 24, 2019, 3:02 a.m.