View source: R/plottingfunctions.R
BuildDataAndLines | R Documentation |
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 )
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 |
stype |
Phenotype or outcome variable |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.