exp.fit.all.log: exp.fit.all.log

Description Usage Arguments Examples

View source: R/exp.fit.all.log.R

Description

Function takes a list of calcium imaging files by filenames in the current working directory (.mat files) and performs an exponential fit to normalize the deltaF/F signal. _This function does not incorporates a linear term to account for gradual rise in signal, which can alter the sign of the single exponential._ Will output plots showing orignal and fitted values, as well as corrected values. If an object is assigned, this will be a vector of corrected values

Usage

1
2
## S3 method for class 'fit.all.log'
exp(filename, skip.time)

Arguments

filename

filepaths of .mat files which have a "signal" and "time" field, or if files are in current working directory, then just list of filenames.

skip.time

number of seconds to skip at the beginning for the exponential fit. N=10 improves the fit.

Examples

1
data <- exp.fit.all.log(files[1], skip.time = 10)

mikeod38/ProvidenciaChemo documentation built on Aug. 24, 2018, 8:34 p.m.