A helper function for the PlotPair functions (i.e. the highcharter one and the flat, base-R one).
BuildDataAndLines(
inputData,
inputResults,
outcome,
independentVariable,
independentAnalyteOfInterest,
outcomeAnalyteOfInterest,
palette = "Set1",
stype
)IntLimObject output of ReadData() or FilterData()
Data frame with model results (output of ProcessResults())
'1' or '2' must be set as outcome/independent variable
'1' or '2' must be set as outcome/independent variable
independent analyte in pair
outcome analyte in pair
choose an RColorBrewer palette ("Set1", "Set2", "Set3", "Pastel1", "Pastel2", "Paired", etc.) or submit a vector of colors
Phenotype or outcome variable