RegressFoldchange: performs univariate fold change regressions for each...

Description Usage Arguments Value

View source: R/Regressions.R

Δ M_i = XΒ _i + Ε _i

Description

performs univariate fold change regressions for each metabolite between two time points in DILT1D study

Δ M_i = XΒ _i + Ε _i

Usage

1
2
RegressFoldchange(covariates, cSampleInfo, cMetDataLong,
  timepoints = c("V0Pre", "V0Post"), predictor = "DIFF")

Arguments

covariates

The DILT1D covariate data frame

cSampleInfo

The DILT1D dataframe for sample metadata

cMetDataLong

The DILT1D dataframe for metabolite counts (or z-scores)

timepoints

A vector of visits with which to calculate the fold changes

the

predictor variable for the regression

Value

A list of coefficents, standard errors, t-values, p-values and the models for the regressions


miepstei/MetabDILT1D documentation built on May 22, 2019, 10:50 p.m.