ctvs: ctvs

Description Usage Arguments Author(s)

View source: R/ctvs.R

Description

collection of 'CurveToValue' functions

Usage

1
2
3
4
ctvs(data.object, ctv.type, rec.frames = NA, bg.firstframe = NA,
  bg.lastframe = NA, sig.firstframe = NA, sig.lastframe = NA,
  wa = c(0.2, 0.7), plot = F, report = F, ylim = NA, mfrow = c(4, 3),
  suffix = "", meanTraces = F, fp = c(29, 37, 41, 49))

Arguments

data.object

input data (gloDatamix format)

ctv.type

type of CTV to calculate

rec.frames

number of frames recorded, will be autodetected if empty

bg.firstframe

for CTVs with background subtraction this is the position of the first bg frame

bg.lastframe

2nd frame for background (end of window)

sig.firstframe

signal onset

sig.lastframe

signal offset

wa

calc "width @" xx*extremum, needs 2 arguments, e.g. width when 0.2 of peakmax is reached to when peak falls to .9 of peakmax

plot

perform a barplot in the end?

report

write CTV report file (gives single traces with signal, bg ... marked and values in legend)

ylim

ylim for report plots, given as 2 value vector, e.g. c(-1,5) plots from -1 to

mfrow

numer of columns and rows to plot per page

suffix

optionally, ad describing suffix to filenames, name of data.object is used when empty

meanTraces

does data come from meanTraces.R?

fp

numerical vector of length 4 giving positions for ctv.w for putative peak on and offset

Author(s)

Daniel M<c3><bc>nch <daniel@muench.bio>


Dahaniel/glodatamix documentation built on May 6, 2019, 1:21 p.m.