IncrAUC: Incremental AUC

View source: R/IncrAUC.R

IncrAUCR Documentation

Incremental AUC

Description

This function allows to calculate the incremental AUC (IAUC) per sample for an ITT (Insulin Tolerance Test) or a GTT (Glucose Tolerance Test).

Usage

IncrAUC(df, grp, graph = T, substr.init.conc = F)

Arguments

df

dataframe (measure times in minutes in columns, samples in rows)

grp

sample grouping column

graph

if TRUE, plot a boxplot, Default: TRUE

substr.init.conc

if TRUE, substract iAUC with "initial Conc x total time"

Value

the function returns a dataframe with the AUC per sample and a boxplot (if graph=T)

See Also

Brouns et al. 2005 (Nutrition Research Reviews)

Wolever et al. 2004 (Diabetes Care)

Examples

data(OGTT)
# Artificial data from an OGTT experiment in KO and WT animals
IncrAUC(OGTT, lineage)

AlexINSERM/Sci.ADS documentation built on March 24, 2024, 11:26 p.m.