MarginalEffectsGraphDataframe: Creates a dataframe of the marginal effect of phenotype

View source: R/plottingfunctions.R

MarginalEffectsGraphDataframeR Documentation

Creates a dataframe of the marginal effect of phenotype

Description

Creates a dataframe of the marginal effect of phenotype

Usage

MarginalEffectsGraphDataframe(
  inputResults,
  inputData,
  independentAnalyteOfInterest,
  outcomeAnalyteOfInterest,
  continuous,
  outcome,
  independentVariable
)

Arguments

inputResults

IntLimResults object with model results (output of RunIntLim())

inputData

Named list (output of FilterData()) with analyte levels and associated meta-data

independentAnalyteOfInterest

independent analyte in pair

outcomeAnalyteOfInterest

outcome analyte in pair

continuous

whether or not the outcome is continuous (TRUE or FALSE)

outcome

'1' or '2' must be set as outcome/independent variable

independentVariable

'1' or '2' must be set as outcome/independent variable

Value

dataframe for further analysis


IntLIM documentation built on Aug. 22, 2022, 5:05 p.m.