PlotPairFlat: scatter plot of pairs (based on user selection). This version...

View source: R/plottingfunctions.R

PlotPairFlatR Documentation

scatter plot of pairs (based on user selection). This version does not use highcharter and instead plots a base R plot.

Description

scatter plot of pairs (based on user selection). This version does not use highcharter and instead plots a base R plot.

Usage

PlotPairFlat(
  inputData,
  inputResults,
  outcome,
  independentVariable,
  independentAnalyteOfInterest,
  outcomeAnalyteOfInterest,
  palette = "Set1"
)

Arguments

inputData

IntLimObject output of ReadData() or FilterData()

inputResults

Data frame with model results (output of ProcessResults())

outcome

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

independentVariable

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

independentAnalyteOfInterest

independent analyte in pair

outcomeAnalyteOfInterest

outcome analyte in pair

palette

choose an RColorBrewer palette ("Set1", "Set2", "Set3", "Pastel1", "Pastel2", "Paired", etc.) or submit a vector of colors

Value

No return value, called for side effects


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