integrateCurve: A function that calculates the area under the curve for a...

Description Usage Arguments Examples

View source: R/integrateCurve.R

Description

Uses the auc function from the MESS package to calculate the area under the curve for all the regions in a specified dataframe. It outputs this information as a wide dataframe.

Usage

1
integrateCurve(dataframe, min, max)

Arguments

dataframe

A dataframe containing intensity data of a time series on a long format - gathered under the Cell ID#

min

The value in the data to start integrating from

max

The final value for the area you wish to integrate

Examples

1
auc <- integrateCurve(cellNormInt, 50, 250)

FafferMcgee/calcium-analysis documentation built on Sept. 3, 2020, 12:07 a.m.