normalizeToReference: normalizeToReference

Description Usage Arguments Details Author(s)

View source: R/normalizeToReference.R

Description

function that fits a curve over reference odors and normalizes to it

Usage

1
2
3
4
normalizeToReference(data.object, rec.frames = NA, reference.odor, ctv.type,
  bg.firstframe = NA, bg.lastframe = NA, sig.firstframe, sig.lastframe,
  pdf = T, mode = "mean", rescale.data = F, ctvreport = F, glom = NA,
  suffix = "", plot = T)

Arguments

data.object

gloDatamix data.frame

rec.frames

number of recorded frames

reference.odor

your positive reference

ctv.type

the type of ctv used for normalization

bg.firstframe

first frame of background (passed to ctvs())

bg.lastframe

last frame of background (passed to ctvs())

sig.firstframe

first frame of the signal (passed to ctvs())

sig.lastframe

last frame of the signal (passed to ctvs())

pdf

produce a PDF of the fits?

mode

one of 'mean', 'linFit', 'linFitEachGlom'

rescale.data

if FALSE: reference set to 1, if set to TRUE: values are multiplied with first reference value afterwards

ctvreport

create a ctv report PDF?

glom

if specified the data will be normalized on this single glomerulus

suffix

suffix for the filename

plot

plot the fits?

Details

Scheme: 1. subset of reference 2. ctv of reference
3. fit curve over ctv/time
A-4. divide every timepoint of every measurement through corresponding point on fitted curve -> normalized curves
A-5. do ctv for measurements -> normalized ctvs

B-4. do ctv for measurements
B-5. divide every ctv through corresponding point on fitted curve

Author(s)

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


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