summarizeResults: Obtain result tables and heatmaps that help interpreting your...

View source: R/metabolicanalysis.R

summarizeResultsR Documentation

Obtain result tables and heatmaps that help interpreting your results.

Description

Obtain result tables and heatmaps that help interpreting your results.

Usage

summarizeResults(fadata, controlgroup = NA, parameters = FAMetA::parameters)

Arguments

fadata

fadata containing synthesis, elongation and desaturation results.

controlgroup

name of the control group to compare the results.

parameters

parameters to be estimated for each fatty acid. It can be modified to change them or to add new fatty acids.

Value

fadata list with a results element which contains: results data frame (results for the main parameters for each fatty acid and sample), summary data frame (mean and sd by sample groups for each parameter and fatty acids from the results table), different heatmaps representing pool size and results (values represented are also saved in data frames) and tables summarizing all parameters values for synthesis and elongation (S16, E1, E2, E3, E4 and E5).

Author(s)

M Isabel Alcoriza-Balaguer <maribel_alcoriza@iislafe.es>

Examples


ssdata <- dataCorrection(ssexamplefadata, blankgroup="Blank")
ssdata <- synthesisAnalysis(ssdata, R2Thr = 0.95, maxiter = 1e3,
maxconvergence = 100, startpoints = 5)
ssdata <- elongationAnalysis(ssdata, R2Thr = 0.95, maxiter = 1e4,
maxconvergence=100, startpoints = 5, D2Thr = 0.1)
ssdata <- desaturationAnalysis(ssdata, SEThr = 0.05)
ssdata <- summarizeResults(ssdata)


## Not run: 
fadata <- dataCorrection(examplefadata, blankgroup = "Blank")
fadata <- synthesisAnalysis(fadata, R2Thr = 0.95, maxiter = 1e3,
maxconvergence = 100, startpoints = 5)
fadata <- elongationAnalysis(fadata, R2Thr = 0.95, maxiter = 1e4,
maxconvergence=100, startpoints = 5, D2Thr = 0.1)
fadata <- desaturationAnalysis(fadata, SEThr = 0.05)
fadata <- summarizeResults(fadata, controlgroup = "Control13Cglc")

## End(Not run)


FAMetA documentation built on Jan. 11, 2023, 5:18 p.m.